[]
Represents a line shape object.
public class LineShape : PSShape, ISerializeSupport, IDeserializationCallback, IPdfSupportPSObject, ISerializable
Public Class LineShape
Inherits PSShape
Implements ISerializeSupport, IDeserializationCallback, IPdfSupportPSObject, ISerializable
Name | Description |
---|---|
LineShape() | Creates a new line shape. |
LineShape(LineShape) | Creates a new shape that is a copy of the specified shape. |
LineShape(Point, Point) | Creates a new line shape. |
LineShape(SerializationInfo, StreamingContext) | Creates a new line shape object from serialization. |
Name | Description |
---|---|
EndCap | Gets or sets the ending cap for the line. |
Height | Gets or sets the height of the line shape. |
ShapeOutlineThickness | Gets or sets the shape outline thickness (line thickness) for the object. |
StartCap | Gets or sets the starting cap for the line. |
Thickness | Gets or sets the thickness of the line. |
Width | Gets or sets the width of the line shape. |
Name | Description |
---|---|
Clone() | Creates a copy of this shape. |
CopyTo(object) | Copies the properties of this object to the target object. |
Deserialize(object, XmlNodeReader) | Loads the object from XML. |
Deserialize(XmlNodeReader) | Loads the object from XML. |
DeserializeLineProps(XmlNodeReader) | Loads the object properties from XML. |
DoSize(int, Point) | Allows the object to be sized. |
GetGrabHandleRectangles(Rectangle, ref Rectangle[]) | Gets the grab handle rectangles. |
GetObjectData(SerializationInfo, StreamingContext) | Serializes the shape object. |
GetRotateHandleRectangle(Rectangle) | Gets the rotate handle rectangle. |
OnMouseDown(MouseEventArgs) | Raises the MouseDown event. |
OnPaint(Graphics, Rectangle) | Initiates a redraw for the object to repaint itself. |
OnPaintBackground(Graphics, Rectangle) | Initiates a redraw for the line to repaint its background. |
PaintDropShadow(Graphics, Rectangle) | Draws the drop shadow. |
PaintRotateHandle(Graphics, Rectangle) | Draws the rotate handle. |
PaintSpecialBackground(Graphics, Rectangle) | Asks the control to repaint the line shape. |
Serialize(object, XmlTextWriter) | Saves the object to XML. |
Serialize(XmlTextWriter) | Saves the object to XML. |
SerializeProps(XmlTextWriter) | Saves the object properties to XML. |
SetBoundsFloat(float, float, float, float, bool, bool) | Sets the bounds of the object to the specified position and size. |
SetInitialShape() | Creates the initial line shape. |
SizeRegion(float, float, float, float) | Resizes the region. |