Creates a text style.
Initial text style configuration.
Releases any style-owned runtime mask resources.
Nothing.
Scales the clip to fit or cover the display area.
Strategy used to size the clip against the display.
When true, centers the clip before fitting; otherwise fits relative to its current position.
Extra margin, in pixels, to include in the fit calculation.
Nothing.
Returns the temporary animation-driven fill color override.
The override color string, or an empty string if no override is active.
Returns runtime-only crop values applied by animation.
The animated crop values in [left, top, right, bottom] order.
Returns the runtime animation scale multipliers.
The [x, y] animation scale multiplier pair.
Returns the optional text background color.
The background color string, or null if none is set.
Returns the owning clip ID.
The owning clip ID.
Returns the base text fill color.
The text color string.
Returns the configured corner radii.
The corner radii in top-left, top-right, bottom-right, bottom-left order.
Indicates whether corner radii are stored in relative mode.
true if relative corner radii are enabled; otherwise false.
Returns the current crop values of the clip. The returned array contains four numbers: [left, top, right, bottom]
The current crop values of the clip.
Indicates whether text drop shadow rendering is enabled.
true if drop shadow rendering is enabled; otherwise false.
Returns the drop shadow opacity.
The drop shadow opacity multiplier.
Returns the drop shadow angle.
The drop shadow angle in radians.
Returns the drop shadow blur radius.
The blur radius.
Returns the drop shadow color.
The drop shadow color string.
Returns the drop shadow distance.
The drop shadow distance in pixels.
Returns the preferred font family.
The configured font family.
Returns the font size.
The font size in pixels.
Returns the font style.
The configured font style.
Returns the text letter spacing.
The letter spacing in pixels.
Returns the text line height.
The line height in pixels.
Returns horizontal and vertical text padding.
The padding pair in [horizontal, vertical] order.
Returns the base clip scale multipliers.
The [x, y] scale pair.
Returns the text stroke color.
The stroke color string.
Returns the text stroke thickness.
The stroke width in pixels.
Returns the horizontal text alignment.
The configured text alignment.
Returns the effective word-wrap width after scale is applied.
The word-wrap width in pixels, or null if wrapping is disabled.
Clears cached derived values so the next update fully recomputes style-dependent sprite state.
Nothing.
Attaches a sprite instance to the style and applies the current style state to it.
Sprite to control.
Nothing.
Moves the clip to the center of the display.
Nothing.
Rebinds the style to a different media asset ID.
Media asset ID associated with the clip.
Nothing.
Scales the clip down uniformly so it fits inside the display while preserving aspect ratio.
Nothing.
Serializes the text style.
The serialized text style payload.
Sets a temporary animation-driven fill color override.
CSS-like color string. An empty string clears the override.
Nothing.
Sets runtime-only crop values applied by animation.
Animated crop from the left edge.
Animated crop from the top edge.
Animated crop from the right edge.
Animated crop from the bottom edge.
Nothing.
Sets runtime-only crop offset values applied by animation.
Horizontal crop offset in pixels.
Vertical crop offset in pixels.
Nothing.
Sets runtime-only scale multipliers applied by clip animation.
Animated horizontal scale multiplier.
Animated vertical scale multiplier.
Nothing.
Sets runtime-only zoom multipliers applied by animation.
Horizontal zoom multiplier.
Vertical zoom multiplier.
Nothing.
Sets the optional text background color.
CSS-like color string, or null to remove the background.
Nothing.
Updates the owning clip ID tracked by the style.
Owning clip ID.
Nothing.
Sets the base text fill color.
CSS-like color string.
Nothing.
Sets corner radii used to mask the clip into a rounded rectangle.
Uniform radius or individual radii for each corner.
When true, corner radii are interpreted relative to the unclipped sprite size.
Nothing.
Sets the crop values for the clip's sprite. This will clip the original texture to the given coordinates.
If the sprite is not a video, gif or image, it will not be updated.
If the sprite has no texture, or the texture is not valid, it will not be updated.
If updatePosition is true, it will also update the position of the sprite, so that the cropped area will maintain it's visual position.
The left coordinate of the crop area
The top coordinate of the crop area
The right coordinate of the crop area
The bottom coordinate of the crop area
If true, it will also update the position of the sprite, so that the middle of the cropped area is at the same position as the middle of the original texture. Default is true.
Sets the base crop offset used when computing crop bounds.
Horizontal crop offset in pixels.
Vertical crop offset in pixels.
Nothing.
Marks the text style as needing a full text-layout refresh on the next update.
Nothing.
Enables or disables text drop shadow rendering.
Whether the drop shadow should be rendered.
Nothing.
Sets the drop shadow opacity.
Drop shadow opacity multiplier.
Nothing.
Sets the drop shadow angle in radians.
Drop shadow angle.
Nothing.
Sets the drop shadow blur radius.
Blur radius.
Nothing.
Sets the drop shadow color.
CSS-like color string.
Nothing.
Sets the drop shadow distance from the text glyphs.
Distance in pixels.
Nothing.
Sets the preferred font family.
Font family name.
Nothing.
Sets the font size.
Font size in pixels.
Nothing.
Sets the font style.
Font style value.
Nothing.
Sets the font weight.
Font weight value.
Nothing.
Sets the text letter spacing.
Letter spacing in pixels.
Nothing.
Sets the text line height.
Line height in pixels.
Nothing.
Sets horizontal and vertical text padding.
Uniform padding value or [horizontal, vertical] padding pair.
Nothing.
Sets the clip scale multipliers.
Horizontal scale multiplier.
Vertical scale multiplier.
Nothing.
Sets the text stroke color.
CSS-like color string.
Nothing.
Sets the text stroke thickness.
Stroke width in pixels.
Nothing.
Sets horizontal text alignment.
Text alignment mode.
Nothing.
Sets the word-wrap width.
Wrap width in pixels, or null to disable wrapping.
Nothing.
Sets the base zoom multipliers used when computing crop bounds.
Horizontal zoom multiplier.
Vertical zoom multiplier.
Nothing.
Applies the current style state to a sprite, including transforms, crop, and mask updates.
Nothing.
StaticdeserializeCreates a text style instance from serialized data.
Serialized text style payload.
The deserialized text style.
Clip style implementation for text content, including typography, stroke, padding, and drop-shadow settings.