SankeyChordRibbonGeometry

SkiaSharp implementation of a sankey chord ribbon (used in BipartiteArc layout). Draws a closed band from a source-arc chord to a target-arc chord, with both cubic curves' control points coincident at (BaseSankeyChordRibbonGeometry.CenterX, BaseSankeyChordRibbonGeometry.CenterY) — this is the d3-chord convention: control-point-at-center collapses the cubic to a quadratic through the center, producing the chord-diagram "bowtie" curve.

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

Members

Properties

Color LvcColor
Gets or sets the color.
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

SankeyChordRibbonGeometry No parameters

Initializes BaseSankeyChordRibbonGeometry.Color to the LvcColor.Empty sentinel so the ribbon defaults to "use the shared paint color." See BaseSankeyRibbonGeometry for the rationale (otherwise the source-gen default would draw invisible transparent-black).