If mode
is set to TextFillMode.Solid
, this will be used as the solid color used in drawing.
Controls which drawing method is used. Can switch between Texture
mode (for drawing using a tiled texture) or Solid
mode (for drawing a solid color).
If mode
is set to TextFillMode.Texture
, this will be used as the texture asset used in drawing.
If mode
is set to TextFillMode.Texture
, this defines what type of stretching is used when the
Texture's aspect ratio doesn't match the drawing area's aspect ratio.
If mode
is set to TextFillMode.Texture
, this defines how many times the texture will tile across its drawing zone.
If mode
is set to TextFillMode.Texture
, this defines what area should be used for tiling the texture.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Fill settings used by several text related classes.
Used in Text's
textFill
property, DropshadowSettings'fill
property, and OutlineSettings'fill
property.Example