Show / Hide Table of Contents

Class LineGeometry

Represents the geometry of a line.

Inheritance
System.Object
DependencyObject
Geometry
LineGeometry
Inherited Members
Geometry.Empty
Geometry.TransformProperty
Geometry.Transform
Geometry.StandardFlatteningTolerance
Geometry.Bounds
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public sealed class LineGeometry : Geometry, IDependencyObject

Constructors

| Improve this Doc View Source

LineGeometry()

Initializes a new instance of the LineGeometry class that has no length.

Declaration
public LineGeometry()
| Improve this Doc View Source

LineGeometry(Point, Point)

Initializes a new instance of the LineGeometry class that has the specified start and end points.

Declaration
public LineGeometry(Point startPoint, Point endPoint)
Parameters
Type Name Description
Point startPoint
Point endPoint

Fields

| Improve this Doc View Source

EndPointProperty

Identifies the EndPoint dependency property.

Declaration
public static readonly DependencyProperty EndPointProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

StartPointProperty

Identifies the StartPoint dependency property.

Declaration
public static readonly DependencyProperty StartPointProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

EndPoint

Gets or sets the end point of a line.

Declaration
public Point EndPoint { get; set; }
Property Value
Type Description
Point

The end point of the line. The default is a Point with value 0,0.

| Improve this Doc View Source

StartPoint

Gets or sets the start point of the line.

Declaration
public Point StartPoint { get; set; }
Property Value
Type Description
Point

The start point of the line. The default is a Point with value 0,0.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source