Class Line
Implements Line shape
Inherited Members
Namespace: EmptyKeys.UserInterface.Shapes
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class Line : Shape
Constructors
Line()
Initializes a new instance of the Line class.
Declaration
public Line()
Fields
X1Property
The x1 property
Declaration
public static readonly DependencyProperty X1Property
Field Value
Type | Description |
---|---|
DependencyProperty |
X2Property
The x2 property
Declaration
public static readonly DependencyProperty X2Property
Field Value
Type | Description |
---|---|
DependencyProperty |
Y1Property
The y1 property
Declaration
public static readonly DependencyProperty Y1Property
Field Value
Type | Description |
---|---|
DependencyProperty |
Y2Property
The y2 property
Declaration
public static readonly DependencyProperty Y2Property
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
DefiningGeometry
Gets the defining geometry.
Declaration
protected override Geometry DefiningGeometry { get; }
Property Value
Type | Description |
---|---|
Geometry | The defining geometry. |
Overrides
RenderedGeometry
Gets the rendered geometry.
Declaration
public override Geometry RenderedGeometry { get; }
Property Value
Type | Description |
---|---|
Geometry | The rendered geometry. |
Overrides
X1
Gets or sets the x1.
Declaration
public float X1 { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The x1. |
X2
Gets or sets the x2.
Declaration
public float X2 { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The x2. |
Y1
Gets or sets the y1.
Declaration
public float Y1 { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The y1. |
Y2
Gets or sets the y2.
Declaration
public float Y2 { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The y2. |
Methods
MeasureOverride(Size)
Measure layout pass
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Size | availableSize | available size for element |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Size |