VariableSVGPathGeometry
Class
Assembly LiveChartsCore.SkiaSharpView
Namespace LiveChartsCore.SkiaSharpView.Drawing.Geometries
Summary:
Defines a geometry that is built from a svg path, the path can change at runtime,
this geometry has a performance penalty, use it only when you need to change the path at runtime,
if the geometry is static use any other geometry defined in the library, or inherit from
BaseSVGPathGeometry class instead, and set the path in the constructor.
Implements:
Derived:
Constructors
// Initializes a new instance of the BaseSVGPathGeometry class.
Properties
Gets or sets the transform origin.
Type: LvcPoint
Type: LvcPoint
Gets or sets the translate transform.
Type: LvcPoint
Type: LvcPoint
Gets or sets the rotation transform in degrees.
Type: Single
Type: Single
Gets or sets the scale transform.
Type: LvcPoint
Type: LvcPoint
Gets or sets the skew transform.
Type: LvcPoint
Type: LvcPoint
Gets or sets the drop shadow.
Type: LvcDropShadow
Type: LvcDropShadow
Gets a value indicating whether the instance has transform.
Type: Boolean
Type: Boolean
Gets or sets the Stroke thickness.
Type: Single
Type: Single
Gets or sets the clipping bounds.
Type: LvcRectangle
Type: LvcRectangle
Gets or sets a value indicating whether the instance should be removed from the canvas when all the animations are completed.
Type: Boolean
Type: Boolean
Methods
// Draws the instance in the user interface with for the specified context.
Draw(
| SkiaSharpDrawingContext context | // |
)
// Measures the instance.
// Sets the transition for the specified properties.
| Animation animation, | // The animation. |
| PropertyDefinition[] properties | // The properties, null to select all properties. |
)
// Removes the transition for the specified properties.
| PropertyDefinition[] properties | // The properties to remove, null to select all properties. |
)
// Completes the transition for the specified properties.
| PropertyDefinition[] properties | // The properties to complete, null to select all properties. |
)