Hide Comments
Hide Comments

Comments (0)

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

expandingInheritance Hierarchy

TRSGPBrush
  RSSVGTypes.TSVGBrush
 

expandingSyntax

Delphi

type 
  TSVGBrush = class(TRSGPBrush) 
  end; 
 

expandingConstructors

 

Name

Description

public constructor

Create(TSVGCanvas,TSVGBrushKind,TSVGColor)

Initializes a new instance of the TSVGBrush class.

Top

expandingProperties

 

Name

Description

published property

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

published property

URI

Stores a reference to another SVG element for providing the pattern or gradient for the brush.

Top

expandingMethods

 

Name

Description

public method

Assign(TPersistent)

Represents method Assign(TPersistent).

public method

UpdateColorOpacity

Updates the brush color alpha channel with the opacity

Top

expandingRemarks

alert_noteTip

Use this type instead of the library-specific type to allow your code to be cross-library (FMX<->VCL) compatible

expandingSee Also

Reference

TBrush

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2015, Thomas G. Grubb