Provides the SVG TBrush class. TSVGBrush is used to fill solid shapes, such as rectangles and ellipses, with a color or pattern. The Kind property controls the mode in which a TSVGBrush instance operates.
The URI property stores a reference to another SVG element for providing the pattern or gradient for the brush.
Namespace: RSSVGTypes
TRSGPBrush
RSSVGTypes.TSVGBrush
|
Delphi
|
type
TSVGBrush = class(TRSGPBrush)
end;
|
|
Name
|
Description
|
|
Color
|
Represents property Color.
|
|
DefaultOpacity
|
Defines the default opacity of the brush. If the Opacity does not equal the default opacity when streaming out the brush, the opacity is written.
|
|
Kind
|
Specifies the pattern for the brush
|
|
Opacity
|
Provides the Opacity the brush should be drawn at. It is stored separately from the color itself as opacity affects gradient and pattern brushes as well
|
|
ParentColor
|
Is Color inherited or not and whether it should be stored
|
|
ParentOpacity
|
Is Opacity inherited or not and whether it should be stored
|
|
URI
|
Stores a reference to another SVG element for providing the pattern or gradient for the brush.
|
Top
|
Tip
|
Use this type instead of the library-specific type to allow your code to be cross-library (FMX<->VCL) compatible
|
|