FMX.Graphics.TBrush

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TPersistentSystem.TObjectTBrush

Delphi

TBrush = class(TPersistent)

C++

class PASCALIMPLEMENTATION TBrush : public System::Classes::TPersistent

Properties

Type Visibility Source Unit Parent
class public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics FMX.Graphics

Description

TBrush represents the color and pattern used to fill solid shapes or to stroke the outline of shapes.

TBrush 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 TBrush instance operates. The properties that are not related to the active kind will not be stored. For example, if the Kind is set to Solid, the Gradient property is ignored.

See Also


Code Examples