Skip to main content

Class Shape

Namespace: VelloSharp.Composition.Controls
Assembly: VelloSharp.Composition.dll

public abstract class Shape : CompositionElement

Inheritance

objectCompositionElementShape

Derived

Ellipse, Path, Rectangle

Inherited Members

CompositionElement.ArrangedBounds, CompositionElement.MeasureConstraints, CompositionElement.DesiredSize, CompositionElement.IsMounted, CompositionElement.Measure(in LayoutConstraints), CompositionElement.Arrange(in LayoutRect), CompositionElement.Mount(), CompositionElement.Unmount(), CompositionElement.GetChildren(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Fill

public CompositionColor Fill { get; set; }

Property Value

CompositionColor

Height

public double? Height { get; set; }

Property Value

double?

Stroke

public CompositionColor Stroke { get; set; }

Property Value

CompositionColor

StrokeThickness

public double StrokeThickness { get; set; }

Property Value

double

Width

public double? Width { get; set; }

Property Value

double?

Methods

Measure(in LayoutConstraints)

public override void Measure(in LayoutConstraints constraints)

Parameters

constraints LayoutConstraints