Creates a line between two points in a PathFigure.
Assembly: PresentationCore (in PresentationCore.dll)
public sealed class LineSegment : PathSegment
public ref class LineSegment sealed : PathSegment
[<Sealed>] type LineSegment = class inherit PathSegment end
Public NotInheritable Class LineSegment Inherits PathSegment
Gets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.)
Gets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.)
Gets a value that indicates whether this instance is currently sealed (read-only).(Inherited from DependencyObject.)
Gets or sets a value that indicates whether the segment is stroked. (Inherited from PathSegment.)
Gets or sets the end point of the line segment.
Creates a modifiable copy of thisby making deep copies of its values.
Creates a modifiable copy of thisobject by making deep copies of its values. This method does not copy resource references, data bindings, or animations, although it does copy their current values.
Makes the current object unmodifiable and sets its property to true. (Inherited from Freezable.)
Re-evaluates the effective value for the specified dependency property(Inherited from DependencyObject.)
Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.)
Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.)
Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.)
Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.(Inherited from DependencyObject.)
Returns a string that represents the current object.(Inherited from Object.)
Use a PathFigure object to create composite shapes using objects and other segments.
The of the PathFigure if no other segments exist.class does not contain a property for the starting point of the line. The starting point of the line is the end point of the previous segment, or the
Freezable Features: Because objects inherit from the Freezable class, they provide several special features: they can be declared as , shared among multiple objects, made read-only to improve performance, cloned, and made thread-safe. For more information about the different features that are provided by Freezable objects, see Freezable Objects Overview.
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.