Defines an object used to draw lines and curves. This class cannot be inherited. More...
Public Member Functions | |
| RenderPen (Color color) | |
| Initializes a new instance of the T:OFT.Rendering.Pen class with the specified color. | |
| RenderPen (Color color, float width) | |
| Initializes a new instance of the T:OFT.Rendering.Pen class with the specified T:System.Drawing.Color and P:OFT.Rendering.Pen.Width properties. | |
| RenderPen (Color color, DashStyle dashStyle) | |
| RenderPen (Color color, float width, DashStyle dashStyle) | |
| bool | Equals (RenderPen? other) |
| override bool | Equals (object? obj) |
| override int | GetHashCode () |
Properties | |
| Color | Color [get] |
| Gets or sets the color of this T:OFT.Rendering.Pen. | |
| RenderAdjustableArrowCap? | CustomEndCap [get, set] |
| Gets or sets a custom cap to use at the end of lines drawn with this T:OFT.Rendering.RenderPen. | |
| RenderAdjustableArrowCap? | CustomStartCap [get, set] |
| Gets or sets a custom cap to use at the beginning of lines drawn with this T:OFT.Rendering.RenderPen. | |
| float?[] | DashPattern [get, set] |
| Gets or sets an array of custom dashes and spaces. | |
| DashStyle | DashStyle = DashStyle.Solid [get, set] |
| Gets or sets the style used for dashed lines drawn with this T:OFT.Rendering.RenderPen. | |
| float | Width [get, set] |
| Gets or sets the width of this T:OFT.Rendering.Pen, in units of the T:OFT.Rendering.Graphics object used for drawing. | |
Defines an object used to draw lines and curves. This class cannot be inherited.
<filterpriority>1</filterpriority> <completionlist cref="T:OFT.Rendering.Tools.RenderPens" >
| OFT.Rendering.Tools.RenderPen.RenderPen | ( | Color | color | ) |
Initializes a new instance of the T:OFT.Rendering.Pen class with the specified color.
| color | A T:System.Drawing.Color structure that indicates the color of this T:OFT.Rendering.Pen. |
| OFT.Rendering.Tools.RenderPen.RenderPen | ( | Color | color, |
| float | width | ||
| ) |
Initializes a new instance of the T:OFT.Rendering.Pen class with the specified T:System.Drawing.Color and P:OFT.Rendering.Pen.Width properties.
| color | A T:System.Drawing.Color structure that indicates the color of this T:OFT.Rendering.Pen. |
| width | A value indicating the width of this T:OFT.Rendering.Pen. |
| override bool OFT.Rendering.Tools.RenderPen.Equals | ( | object? | obj | ) |
| bool OFT.Rendering.Tools.RenderPen.Equals | ( | RenderPen? | other | ) |
| override int OFT.Rendering.Tools.RenderPen.GetHashCode | ( | ) |
|
get |
Gets or sets the color of this T:OFT.Rendering.Pen.
<filterpriority>1</filterpriority>
|
getset |
Gets or sets a custom cap to use at the end of lines drawn with this T:OFT.Rendering.RenderPen.
<filterpriority>1</filterpriority>
|
getset |
Gets or sets a custom cap to use at the beginning of lines drawn with this T:OFT.Rendering.RenderPen.
<filterpriority>1</filterpriority>
|
getset |
Gets or sets an array of custom dashes and spaces.
<filterpriority>1</filterpriority>
|
getset |
Gets or sets the style used for dashed lines drawn with this T:OFT.Rendering.RenderPen.
<filterpriority>1</filterpriority>
|
getset |
Gets or sets the width of this T:OFT.Rendering.Pen, in units of the T:OFT.Rendering.Graphics object used for drawing.
<filterpriority>1</filterpriority>