ColoredRoundedRectangleGeometry

A rounded rectangle that ALSO carries a per-instance ColoredRoundedRectangleGeometry.Color. Combines RoundedRectangleGeometry's BorderRadius with ColoredRectangleGeometry's color-override convention so a single Paint task can render N geometries each in its own color (used by SankeySeries for per-node fills).

Class · Namespace LiveChartsCore.SkiaSharpView.Drawing.Geometries · Assembly LiveChartsCore.SkiaSharpView · View source

Members

Properties

Width Single
The BoundedDrawnGeometry.Width motion property.
Opacity Single
Gets or sets the opacity.
TransformOrigin LvcPoint
Gets or sets the transform origin.
TranslateTransform LvcPoint
Gets or sets the translate transform.
RotateTransform Single
Gets or sets the rotation transform in degrees.
ScaleTransform LvcPoint
Gets or sets the scale transform.
SkewTransform LvcPoint
Gets or sets the skew transform.
Stroke Paint
Gets or sets the stroke.
Fill Paint
Gets or sets the fill.
DropShadow LvcDropShadow
Gets or sets the drop shadow.
HasTransform Boolean
Gets a value indicating whether the instance has transform.
StrokeThickness Single
Gets or sets the Stroke thickness.
ClippingBounds LvcRectangle
Gets or sets the clipping bounds.
X Single
Gets or sets the x coordinate, if the parent is not null the x coordinate will be relative to the parent.
Y Single
Gets or sets the y coordinate, if the parent is not null the y coordinate will be relative to the parent.
IsValid Boolean
Gets a value indicating whether the instance is valid.
RemoveOnCompleted Boolean
Gets or sets a value indicating whether the instance should be removed from the canvas when all the animations are completed.

Methods

Draw 1 parameter

Draws the instance in the user interface with for the specified context.

SkiaSharpDrawingContext context

Measure No parameters

Measures the instance.

SetTransition 2 parameters

Sets the transition for the specified properties.

Animation animation The animation.

PropertyDefinition[] properties The properties, null to select all properties.

RemoveTransition 1 parameter

Removes the transition for the specified properties.

PropertyDefinition[] properties The properties to remove, null to select all properties.

CompleteTransition 1 parameter

Completes the transition for the specified properties.

PropertyDefinition[] properties The properties to complete, null to select all properties.

GetPropertyDefinition 1 parameter

Gets the property definition by name.

String propertyName The name of the property.

Constructors

ColoredRoundedRectangleGeometry No parameters

Initializes a new instance of the ColoredRoundedRectangleGeometry class.