|
| | CompositeGlyph (FontFace parent) |
| |
| override void | LoadNow () |
| | Completes the load of this glyph. You must have checked RequiresLoad first. More...
|
| |
| void | AddComponent (VectorTransform component) |
| |
| override void | LoadFully (Glyph[] glyphs) |
| |
| void | OnScreen () |
| | Called when this character goes on screen. More...
|
| |
| void | OffScreen () |
| | Called when this character goes on screen. More...
|
| |
| void | SetupImage (ImagePackage package) |
| | Called when an image is found for this character. Used by e.g. Emoji. More...
|
| |
| bool | AddToFont (string name, int charcode) |
| | Add this glyph to the named font. Can override existing characters. More...
|
| |
| bool | AddToFont (string name, string charcode) |
| | Add this glyph to the named font. Can override existing characters. More...
|
| |
| bool | MultiThreadDraw () |
| | True if DrawToAtlas can be multithreaded for this object. More...
|
| |
| void | GetDimensionsOnAtlas (out int width, out int height) |
| | Gets the dimensions of this entity on an atlas. More...
|
| |
| bool | DrawToAtlas (TextureAtlas atlas, AtlasLocation location) |
| | Draws this entity to the given atlas now. More...
|
| |
| int | GetAtlasID () |
| | A globally unique ID that can be used to identify the image being held. More...
|
| |
| bool | Rasterise (Color32[] atlasPixels, int atlasWidth, int baseIndex, bool clear) |
| |
| | Glyph () |
| |
| | Glyph (FontFace parent) |
| |
| Glyph | Copy () |
| |
| void | AddKerningPair (Glyph beforeThis, float value) |
| |
| void | AddCharcode (int charCode) |
| |
| void | HoleSort () |
| | Sorts this path such that any holes it contains begin closest to it's containing contour. This essentially allows paths with holes (think hole in o!) to be correctly triangulated. More...
|
| |
| VectorPoint | Nearest (float x, float y) |
| | Gets the nearest node in this shape to the given point. More...
|
| |
| VectorPoint | Nearest (float x, float y, VectorPoint from, VectorPoint to) |
| | Gets the nearest node in the given section of this shape to the given point. More...
|
| |
| bool | Contains (float x, float y) |
| | Does this path contain the given point? More...
|
| |
| bool | Contains (float x, float y, VectorPoint from, VectorPoint to) |
| | Does the given section of this path contain the given point? More...
|
| |
| void | GetVertices (Vector3[] vertices, Vector3[] normals, float accuracy, float offsetX, float offsetY, float scale, ref int index, List< int > contourStarts) |
| |
| int | GetVertexCount (float accuracy) |
| |
| void | MoveTo (float x, float y) |
| | Moves the current pen location to the given point. Used when drawing paths. More...
|
| |
| void | CopyInto (VectorPath path) |
| | Copies this vector path into the given one. More...
|
| |
| void | Clear () |
| | Clears this path. More...
|
| |
| void | AddPathNode (VectorPoint point) |
| | Adds the given node to this path. More...
|
| |
| void | ClosePathFast () |
| | Closes the path quickly and safely. More...
|
| |
| void | ClosePath () |
| | A full path close. More...
|
| |
| void | CloseLast () |
| | Marks the last node as a close. More...
|
| |
| StraightLinePoint | LineTo (float x, float y) |
| |
| QuadLinePoint | QuadraticCurveTo (float cx, float cy, float x, float y) |
| |
| void | CurveTo (float c1x, float c1y, float c2x, float c2y, float x, float y) |
| |
| void | RecalculateMeta () |
| | Recalculates bounds and normals. More...
|
| |
| void | RecalculateBounds () |
| | Recalculates the minimum values and width/height of this path, taking curves into account. More...
|
| |
| void | RecalculateNormals () |
| | Recalculates the normals of this path. Not required unless you're using SDF. More...
|
| |
| void | Extrude (float by) |
| | Extrudes this path along it's normals. Used to e.g. make something bold. Assumes one or more closed loops and that RecalculateNormals has been called. More...
|
| |
| void | Sheer (float by) |
| | Sheers this path. Note that it's assumed to be at most 1 unit tall. More...
|
| |
| void | MultiplyNormals (float by) |
| | Multiply the normals of this path by the given value. More...
|
| |
| void | Scale (float by) |
| | Scales this path by the given value. More...
|
| |
| float | GetSignedArea () |
| | Gets the signed area of the "major" contour (the first one). It's signed as this can identify the winding order. More...
|
| |
| override string | ToString () |
| |