|
Alignment
|
Specifies the alignment setting of the pen relative to the line that is drawn.
|
|
|
Brush
|
Specifies the Brush object that a pen uses to fill a line.
Note
|
Unlike the FMX TStrokeBrush, the TRSGPPen uses a brush to control how the pen line is filled.
|
|
|
|
Color
|
Specifies the color of the pen when the pen kind is bkSolid or foreground color when pen kind is bkHatchFill
Note
|
To properly use the Color property, you must set the Kind property to bkSolid or bkHatchFill.
|
|
|
|
CompoundArray
|
Specifies the compound array for this Pen object, which specifies the parallel lines for pen with values between 0 and 1. The CompoundArray property must be monotonically increasing (between 0 and 1) with an even number of elements in the array.
Suppose a compound array contains the values 0.0, 0.2, 0.7, and 1.0 and that the pen has a width of 100. When you use the pen to draw, you get two parallel lines. The first line has a width of 20, the space between the two lines has a width of 50, and the second line has a width of 30.
|
|
|
CustomEndCap
|
Specifies the custom end cap for this Pen object.
A line cap defines the style of graphic used to draw the ends of a line. It can be various shapes, such as a square, circle, or diamond. A custom line cap is defined by the path that draws it. The path is drawn by using a Pen object to draw the outline of a shape or by using a Brush object to fill the interior.
|
|
|
CustomStartCap
|
Specifies the custom start cap for this Pen object.
A line cap defines the style of graphic used to draw the ends of a line. It can be various shapes, such as a square, circle, or diamond. A custom line cap is defined by the path that draws it. The path is drawn by using a Pen object to draw the outline of a shape or by using a Brush object to fill the interior.
|
|
|
Dash
|
Specifies the dash style for this Pen object.
Note
|
The length of the dashes in a dashed line is dependent on the dash style and the width of the Pen object. The length of the space that separates two dashes in a dashed line is equal to the width of the Pen object.
|
|
|
|
DashArray
|
Specifies an array of real numbers that specifies the length of the custom dashes and spaces. All elements in the array must be positive real numbers.
The elements in the dash array set the length of each dash and space in the dash pattern. The first element sets the length of a dash, the second element sets the length of a space, the third element sets the length of a dash, and so forth.
The length of each dash and space in the dash pattern is the product of the element value in the array and the width of the Pen object.
|
|
|
DashCap
|
Specifies the start and end caps of the dashes in a dashed line.
|
|
|
DashOffset
|
Specifies the distance from the start of the line to the start of the first dash in a dashed line.
|
|
|
DefaultColor
|
Defines the default color of the pen. The pen object uses the DefaultColor property to determine whether the color of the pen is stored when streaming.
|
|
|
DefaultKind
|
Defines the default kind of the pen. The pen object uses the DefaultKind property to determine whether the kind of the pen is stored when streaming.
|
|
|
EndCap
|
Specifies the end cap for this Pen object.
|
|
|
Handle
|
Handle of the graphics object, used by the MS GDI+ flat API routines (Inherited from RSGdiPlusGraphics.TRSGPGraphicsObject.)
|
|
|
Join
|
Specifies the join style used at the end of a line segment that meets another line segment.
|
|
|
Kind
|
Determines the pattern for the pen.
Use Kind to specify the pattern painted by the pen. Kind can have one of the following values:
|
|
bkBitmap
|
The pen's pattern is defined by an external bitmap image.
|
|
|
bkGradient
|
The pen's pattern is a gradient and you can set the gradient type and colors.
|
|
|
bkNone
|
The pen has no pattern. The fill of the object is transparent and the Color property has no effect.
|
|
|
bkSolid
|
The pen's pattern is a solid color, which you can set by using the Color property.
|
|
|
bkHatchFill
|
The pen's pattern is a hatch fill. The pen defines a rectangular brush with a hatch style, a foreground color, and a background color. There are six hatch styles. The foreground color defines the color of the hatch lines; the background color defines the color over which the hatch lines are drawn.
|
|
|
|
|
|
|
|
|
|
|