|
AbsoluteMatrix
|
Returns the combined transformation matrix for the control. This is the control's transformation matrix multiplied by all parent IRSGPControl control's transformation matrices. (Inherited from RSSVGControl.TRSSVGControl.)
|
|
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.
|
|
AutoSize
|
Represents property AutoSize.
|
|
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
|
|
Constraints
|
Represents property Constraints.
|
|
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.
|
|
DragCursor
|
Represents property DragCursor.
|
|
DragKind
|
Represents property DragKind.
|
|
DragMode
|
Represents property DragMode.
|
|
Enabled
|
Represents property Enabled.
|
|
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.
|
|
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.
|
|
|
Matrix
|
Returns the transformation matrix of the control (Inherited from RSSVGControl.TRSSVGControl.)
|
|
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 RSSVGControl.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.
|
|
OnContextPopup
|
Represents property OnContextPopup.
|
|
OnDblClick
|
Represents property OnDblClick.
|
|
OnDragDrop
|
Represents property OnDragDrop.
|
|
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 RSSVGControl.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 RSSVGControl.TRSSVGControl.)
|
|
OnEndDock
|
Represents property OnEndDock.
|
|
OnEndDrag
|
Represents property OnEndDrag.
|
|
OnGesture
|
Represents property OnGesture.
|
|
OnMouseActivate
|
Represents property OnMouseActivate.
|
|
OnMouseDown
|
Represents property OnMouseDown.
|
|
OnMouseEnter
|
Represents property OnMouseEnter.
|
|
OnMouseLeave
|
Represents property OnMouseLeave.
|
|
OnMouseMove
|
Represents property OnMouseMove.
|
|
OnMouseUp
|
Represents property OnMouseUp.
|
|
OnPaint
|
Represents property OnPaint.
|
|
OnPainting
|
Represents property OnPainting.
|
|
OnStartDock
|
Represents property OnStartDock.
|
|
OnStartDrag
|
Represents property OnStartDrag.
|
|
Opacity
|
Represents property Opacity.
|
|
ParentShowHint
|
Represents property ParentShowHint.
|
|
PopupMenu
|
Represents property PopupMenu.
|
|
Quality
|
Controls the quality of the RSSVGControl.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.
|
|
|
ShadowColor
|
Returns the color to use for shadows in the instrument. This color is calculated from the RS.Impact.Instruments.TRSSVGCustomInstrument.LightColor property.
|
|
ShowHint
|
Represents property ShowHint.
|
|
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 RSSVGControl.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 RSSVGControl.TRSSVGControl.)
|
|
Touch
|
Represents property Touch.
|
|
Transform
|
Specifies the overall transformation to apply to the instrument image. For no transformation, set the Matrix to the RSIdentityMatrix (Inherited from RSSVGControl.TRSSVGControl.)
|
|
UpdateCount
|
Tracks the number of BeginUpdate calls with unmatching EndUpdate calls, i.e., if UpdateCount is greater than 0, the code is between BeginUpdate and EndUpdate and should not signal a change event.
|
|
Visible
|
Represents property Visible.
|
|
Width
|
Represents property Width.
|