rvsvgpathbutton TRVSVGPathButton

Properties

<< Click to display table of contents >>

rvsvgpathbutton TRVSVGPathButton

Properties

TRVSVGPathButton is a button with an image defined by an SVG path.

Unit FMX.RV.SVGPathButton;

Syntax

TRVSVGPathButton = class(TSpeedButton)

hmtoggle_arrow1Hierarchy

Description

These buttons are used by other FMX UI components. They consist of a TSpeedButton with an additional SVG image displayed on it. It is recommended to remove any other button content (see HideText)..

The image is specified by the SVGPath and SVGViewBox properties. It is displayed using the same color as the button text defined by the button style. The image opacity is specified by the SVGOpacity property.

You can make the button keep a square shape; see Square.

Unlike a standard TSpeedButton, the value of the StaysPressed property is preserved even when the button is linked to an action.