The LineShape type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| LineShape()()()() |
Create a new LineShape.
| |
| LineShape(Double, Double, Double, Double) |
Creates a new LineShape with given start and end point.
| |
| LineShape(Double, Double, Double, Double, Pen) |
Creates a new LineShape with given start and end point and pen.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Clones a Shape.
(Inherited from PathShape.) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Read(String) |
Read from XML file.
(Inherited from Object.) | |
| Read(XmlElement) |
Read from XML element.
(Inherited from Object.) | |
| Read(XmlReader) |
Read from XML reader.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| BottomMargin |
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Brush |
The brush that is used to fill this shape if closed.
(Inherited from PathShape.) | |
| Closed |
Close this path shape by drawing a straight line from the end point to the start point.
(Inherited from PathShape.) | |
| Dock |
How this shape is docked.
(Inherited from Shape.) | |
| ID |
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.) | |
| LeftMargin |
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Opacity |
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.) | |
| PathShapes |
The segments that make up this path shape.
(Inherited from PathShape.) | |
| Pen |
Used to draw the curves on this path.
(Inherited from PathShape.) | |
| RightMargin |
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Rotation |
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.) | |
| RotationOffsetX |
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.) | |
| RotationOffsetY |
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.) | |
| TopMargin |
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| X |
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.) | |
| X1 |
Horizontal position of end point.
| |
| Y |
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.) | |
| Y1 |
Vertical position of end point.
|