Table of Contents

Class Line

Namespace
Avalonia.Controls.Shapes
Assembly
Avalonia.Controls.dll
public class Line : Shape, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue
Inheritance
Line
Implements
Inherited Members
Extension Methods

Constructors

Line()

public Line()

Fields

EndPointProperty

public static readonly StyledProperty<Point> EndPointProperty

Field Value

StyledProperty<Point>

StartPointProperty

public static readonly StyledProperty<Point> StartPointProperty

Field Value

StyledProperty<Point>

Properties

EndPoint

public Point EndPoint { get; set; }

Property Value

Point

StartPoint

public Point StartPoint { get; set; }

Property Value

Point

Methods

CreateDefiningGeometry()

Creates the shape's defining geometry.

protected override Geometry CreateDefiningGeometry()

Returns

Geometry

Defining Geometry of the shape.