Creates a shape style.
Initial shape 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 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 Bezier control nodes used for Bezier path shapes.
The configured Bezier nodes.
Returns the owning clip ID.
The owning clip ID.
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.
Returns the fill color used to render the shape.
The fill color string.
Indicates whether the shape interior is filled.
true if fill rendering is enabled; otherwise false.
Returns the inner radius used for the star shape.
The inner radius in pixels.
Returns the number of points used for the star shape.
The number of star points.
Returns the outer radius used for the star shape.
The outer radius in pixels.
Returns the polygon point list used for polygon-based shapes.
The configured polygon points.
Returns the corner radius used for rounded rectangles.
The corner radius in pixels.
Returns the base clip scale multipliers.
The [x, y] scale pair.
Returns the shape primitive type rendered by the clip.
The configured shape type.
Returns the stroke alignment used by the vector graphics renderer.
The stroke alignment value.
Returns the outline opacity.
The outline opacity multiplier.
Returns the stroke color used to render the shape outline.
The stroke color string.
Returns the shape outline width.
The outline width in pixels.
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 shape style.
The serialized shape style payload.
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 Bezier control nodes used for Bezier path shapes.
Bezier node list, with null entries preserved for serialized compatibility.
Nothing.
Updates the owning clip ID tracked by the style.
Owning clip ID.
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.
Sets the fill color used to render the shape.
CSS-like color string.
Nothing.
Enables or disables filling the interior of the shape.
Whether the shape should be filled.
Nothing.
Sets the inner radius used when rendering a star shape.
Inner radius in pixels.
Nothing.
Sets the number of points used when rendering a star shape.
Number of star points.
Nothing.
Sets the outer radius used when rendering a star shape.
Outer radius in pixels.
Nothing.
Sets the polygon point list used for polygon-based shapes.
Polygon points, with null entries preserved for serialized compatibility.
Nothing.
Sets the corner radius used when rendering rounded rectangles.
Corner radius in pixels.
Nothing.
Sets the clip scale multipliers.
Horizontal scale multiplier.
Vertical scale multiplier.
Nothing.
Sets the shape primitive type rendered by the clip.
Shape type to render.
Nothing.
Sets the outline opacity.
Outline opacity multiplier.
Nothing.
Sets the stroke color used to render the shape outline.
CSS-like color string.
Nothing.
Sets the shape outline width.
Outline width in pixels.
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 shape style instance from serialized data.
Serialized shape style payload.
The deserialized shape style.
Clip style implementation for vector shapes, including fill, stroke, and shape-specific geometry settings.