LabelGeometry
Class

Assembly LiveChartsCore.SkiaSharpView
Namespace LiveChartsCore.SkiaSharpView.Drawing.Geometries

Summary:

Inheritance:
Object =>
Animatable =>
Drawable =>
Geometry =>
LabelGeometry
Implements:

Constructors

// Initializes a new instance of the LabelGeometry class.

Properties

Gets or sets the vertical align.
Type: Align
Gets or sets the horizontal align.
Type: Align
Gets or sets the text.
Type: String
Gets or sets the size of the text.
Type: Single
Gets or sets the background color.
Type: LvcColor
Gets or sets the padding.
Type: Padding
Gets or sets the line height [in times the text height].
Type: Single
Gets or sets the maximum width.
Type: Single
This property is only available on debug mode, it indicates if the debug lines should be shown.
Type: Boolean
X
Gets or sets the x coordinate. When the parent is null the coordinates are relative to the canvas. When the parent is not null the setter coordinates are relative to the parent but the getter is relative to the canvas.
Type: Single
Y
Gets or sets the y coordinate. When the parent is null the coordinates are relative to the canvas. When the parent is not null the setter coordinates are relative to the parent but the getter is relative to the canvas.
Type: Single
Gets or sets the transform origin.
Type: LvcPoint
Gets or sets the translate transform.
Type: LvcPoint
Gets or sets the rotation transform in degrees.
Type: Single
Gets or sets the scale transform.
Type: LvcPoint
Gets or sets the skew transform.
Type: LvcPoint
Gets or sets the matrix transform.
Type: SKMatrix
Gets or sets the opacity.
Type: Single
Gets or sets the stroke paint.
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the fill paint.
Type: IPaint<SkiaSharpDrawingContext>
Gets or sets the parent shape, if any the X and Y properties will be relative to the parent.
Type: IGeometry<SkiaSharpDrawingContext>
Gets or sets a value indicating whether this instance is completed.
Type: Boolean
Gets or sets the current time.
Type: Int64
Gets or sets a value indicating whether the element is removed when all the transitions complete.
Type: Boolean
Gets the motion properties.
Type: Dictionary<String, IMotionProperty>

Methods

// Called when the geometry is drawn.
SkiaSharpDrawingContext context, // The context.
SKPaint paint// The paint.
)
// Draws the geometry in the user interface.
SkiaSharpDrawingContext context// The context.
)
// Measures the geometry.
IPaint<SkiaSharpDrawingContext> drawableTask// The drawable task.
)
// Sets a property transition for the specified property or properties.
Animation animation, // The animation.
String[] propertyName// Name of the property, use null to set all the animatable properties.
)
// Removes a property or properties transitions.
String[] propertyName// Name of the property, null to remove them all.
)
// Completes the property or properties transitions.
String[] propertyName// Name of the property, null to select them all.
)