FMX.Graphics.TBrush.Resource

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Resource: TBrushResource read FResource write SetResource stored IsResourceStored;

C++

__property TBrushResource* Resource = {read=FResource, write=SetResource, stored=IsResourceStored};

Properties

Type Visibility Source Unit Parent
property published
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TBrush

Description

Specifies a resource that defines the pattern for the brush.

Resource specifies a TBrushResource object that will be used to define the pattern and color of the brush. Set the TBrushResource.StyleResource property to be a TBrushObject that contains the pattern particularities, like color, kind, gradient, and so on. The TBrushObject can be used to paint multiple controls the same way.

Note: To properly use the Resource property, you must set the Kind property to Resource.

See Also