|
ActiveSVGElement
|
Specifies the dynamic element in the SVG, the part that will be changing often. The ActiveSVGElement is not buffered when painting as it is assumed it will be changing. Set the ActiveSVGElement to tell the control which element or group of elements need to be redrawn every paint event.
The non-active svg elements are rendered either to the Background or Foreground Buffer.
Note
|
It is recommended that the active portion of the SVG not be too drawing intensive as it will slow painting.
|
|
|
Align
|
Represents property Align.
|
|
Anchors
|
Represents property Anchors.
|
|
Background
|
Contains the static background of the SVG compared to the ActiveSVGElement, i.e. the SVG elements that are rendered behind the ActiveSVGElement. The Background and Foreground are painted once from the SVG. When elements in the ActiveSVGElement group change, the Background and Foreground are not rendered again, significantly speeding up painting of the entire SVG.
Note
|
It is not recommended to change SVG elements in the background too often as it requires a complete rerendering of the background.
|
|
|
Buffered
|
Specifies whether to draw the SVG to a backbuffer and then copy that image to the canvas (default) or to draw directly on the canvas
Set the Buffered property to false to draw directly on the image canvas. This is generally not recommended, however, it may look better on mobile devices
|
|
ClipChildren
|
Represents property ClipChildren.
|
|
ClipParent
|
Represents property ClipParent.
|
|
Cursor
|
Represents property Cursor.
|
|
Decoration
|
Defines the shape to use as a decoration for the instrument. The decoration can be pre-defined paths or a custom path. Use DecorationFillColor and DecorationStrokeColor to customize the colors of the decoration.
|
|
DecorationFillColor
|
Specifies the fill color for the decoration
|
|
DecorationID
|
Specifies the ID of the element in the SVG that contains the Decoration for the instrument.
|
|
DecorationPath
|
Provides access to the path data for the decoration. If the Decoration element does not exist in the SVG, this property does nothing and returns nil.
Note
|
The path data should be in a rectangle from 0,0 to 100,100. Path points outside that range can look awkward in the instrument.
|
|
|
DecorationStrokeColor
|
Specifies the stroke or pen color of the decoration
|
|
Design
|
Use the Design property to quickly switch between detailed and simpler versions of the instrument. The simple option removes extra detail (such as bevels, glass look, shadows, bolts or screws, etc) in the gauge to provide a more basic and faster to draw version of the gauge.
The Design and EnableGradients properties are holistic-type properties which rapidly change the entire look of the instrument.
|
|
DragMode
|
Represents property DragMode.
|
|
Enabled
|
Represents property Enabled.
|
|
EnableDragHighlight
|
Represents property EnableDragHighlight.
|
|
EnableGradients
|
Use the EnableGradients property to remove gradients from the gauge and use solid colors instead. This option improves speed when drawing the component, and gives gauges a generally flatter look.
The Design and EnableGradients properties are holistic-type properties which rapidly change the entire look of the instrument.
|
|
Foreground
|
Contains the static foreground of the SVG compared to the ActiveSVGElement, i.e. the SVG elements that are rendered in front of the ActiveSVGElement. The Background and Foreground are painted once from the SVG. When elements in the ActiveSVGElement group change, the Background and Foreground are not rendered again, significantly speeding up painting of the entire SVG.
Note
|
It is not recommended to change SVG elements in the background too often as it requires a complete rerendering of the background.
|
|
|
FormatStr
|
Defines the format of floating point numbers that are displayed in text elements within the gauge. Change this property to change how numbers are displayed (e.g., significant digits)
|
|
Height
|
Represents property Height.
|
|
HitTest
|
Represents property HitTest.
|
|
LightColor
|
Specifies the color of the light for the instrument. Change the light color to give the instrument a slight color cast.
Note
|
LightColor is not a true lighting property. The class does not calculate lighting but rather uses this color to change some elements of the instrument which have been pre-identified as being lit.
|
|
|
Locked
|
Represents property Locked.
|
|
Margins
|
Represents property Margins.
|
|
NeedBuffers
|
Controls whether the Background and Foreground need to be rendered again in the Buffered paint process. Set the NeedBuffers property to True to force the buffers to be redrawn at the next paint event. (Inherited from FMX.RS.SVGControl.TRSSVGControl.)
|
|
OnChange
|
Occurs when the instrument has been modified. Use the OnChange event to respond to changes. Note that BeginUpdate/EndUpdate can delay change events until the last matching EndUpdate method is called.
|
|
OnClick
|
Represents property OnClick.
|
|
OnDblClick
|
Represents property OnDblClick.
|
|
OnDragDrop
|
Represents property OnDragDrop.
|
|
OnDragEnd
|
Represents property OnDragEnd.
|
|
OnDragEnter
|
Represents property OnDragEnter.
|
|
OnDragLeave
|
Represents property OnDragLeave.
|
|
OnDragOver
|
Represents property OnDragOver.
|
|
OnDrawing
|
Occurs just before drawing the current element and its children. The event fires after the canvas brush, pen, font, clipping, etc are set up but before the actual drawing. (Inherited from FMX.RS.SVGControl.TRSSVGControl.)
|
|
OnDrawn
|
Occurs just after a SVG element is drawn. The event fires after drawing the current element and its children but before the canvas is returned to its initial state. (Inherited from FMX.RS.SVGControl.TRSSVGControl.)
|
|
OnMouseDown
|
Represents property OnMouseDown.
|
|
OnMouseEnter
|
Represents property OnMouseEnter.
|
|
OnMouseLeave
|
Represents property OnMouseLeave.
|
|
OnMouseMove
|
Represents property OnMouseMove.
|
|
OnMouseUp
|
Represents property OnMouseUp.
|
|
OnMouseWheel
|
Represents property OnMouseWheel.
|
|
OnPaint
|
Represents property OnPaint.
|
|
OnPainting
|
Represents property OnPainting.
|
|
OnResize
|
Represents property OnResize.
|
|
Opacity
|
Represents property Opacity.
|
|
Padding
|
Represents property Padding.
|
|
PopupMenu
|
Represents property PopupMenu.
|
|
Position
|
Represents property Position.
|
|
Quality
|
Controls the quality of the FMX.RS.SVGControl.TRSSVGControl.Buffered painting of the SVG image. The value of quality can vary between 1 (low quality) to 8 (very high quality).
Note
|
This property controls the amount of oversampling performed in the buffered drawing. The offscreen buffers' dimensions are multiplied by the Quality value. Then, the offscreen buffers are downsampled when painting the control, providing anti-aliasing of the buffered drawing.
This property is intended for mobile applications. The quality on desktop FMX applications is already high and requires no extra memory.
|
Warning
|
Occasionally, oversampling can cause different output compared to the unbuffered output. The extra size of the buffers requires more triangles to output gradients and other elements. If this exceeds Embarcadero's limits, the element is not drawn.
|
|
|
RotationAngle
|
Represents property RotationAngle.
|
|
RotationCenter
|
Represents property RotationCenter.
|
|
Scale
|
Represents property Scale.
|
|
ShadowColor
|
Returns the color to use for shadows in the instrument. This color is calculated from the FMX.RS.Impact.Instruments.TRSSVGCustomInstrument.LightColor property.
|
|
Stretch
|
Defines if the control draws the SVG stretched to the complete bounds of the control (True) or draws the SVG to the maximum dimensions while respecting the aspect ratio of the SVG (False). (Inherited from FMX.RS.SVGControl.TRSSVGControl.)
|
|
SVG
|
Contains the SVG that paints the appearance of the control. The control changes the SVG elements based on requirements of the control. For example, a descendant control could change a specific element's fill and stroke based on a Color property change. (Inherited from FMX.RS.SVGControl.TRSSVGControl.)
|
|
TabOrder
|
Represents property TabOrder.
|
|
TouchTargetExpansion
|
Represents property TouchTargetExpansion.
|
|
Visible
|
Represents property Visible.
|
|
Width
|
Represents property Width.
|