Skip to main content

TextFillMode

Enum

Used in TextFill's mode property.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

Used in TextFill's mode property. Controls which drawing method is used for the TextFill.

Index

Enumeration Members

Example

// @input Component.Text textComponent
// @input Asset.Texture texture

script.textComponent.textFill.mode = TextFillMode.Texture;
script.textComponent.textFill.texture = script.texture;

Enumeration Members

Solid

Solid: number

Solid color will be used for drawing.


Texture

Texture: number

Tiled texture will be used for drawing.