|
Name
|
Description
|
|
ERSGfxException
|
Base exception class for RSGraphics exceptions
|
|
TObjectSize
|
Defines a class to contain and perform calculations on a TRect. The advantage of using TRSObjectRect is that the class can be used as a published property, where the user will be able to set the boundaries of the rectangle at design time. The TRSObjectRect class is a descendant of the RSGraphics.TRSCustomRect class which publishes the boundaries of the rectangle represented by the class.
The TRSObjectRect represents the dimensions of a rectangle. The coordinates are specified as four separate integers representing the left, top, right, and bottom sides.
Typically, values represent pixel locations, where the origin of the pixel coordinate system is in the top left corner of the screen (screen coordinates) or the top left corner of a control's client area (client coordinates). When a TRSObjectRect value represents a rectangle on the screen, by convention the top and left edges are considered inside the rectangle and the bottom and right edges are considered outside the rectangle. This convention allows the width of the rectangle to be Right - Left and the height to be Bottom - Top.
Note
|
The BoundsRect property represents the underlying TRect rectangle. You should use the provided properties; Left, Right, Top, Bottom, Width, and Height; to set the rectangle's fields. If you use the BoundsRect field's directly, the OnChange event will not be called.
|
|
|
TRSCustomRect
|
Defines a class to contain and perform calculations on a TRect. The advantage of using TRSCustomRect (and its descendant classes: RSGraphics.TRSObjectRect and RSGraphics.TObjectSize) is that the class can be used as a published property, where the user will be able to set the boundaries of the rectangle at design time.
The TRSCustomRect represents the dimensions of a rectangle. The coordinates are specified as four separate integers representing the left, top, right, and bottom sides.
Typically, values represent pixel locations, where the origin of the pixel coordinate system is in the top left corner of the screen (screen coordinates) or the top left corner of a control's client area (client coordinates). When a TRSCustomRect value represents a rectangle on the screen, by convention the top and left edges are considered inside the rectangle and the bottom and right edges are considered outside the rectangle. This convention allows the width of the rectangle to be Right - Left and the height to be Bottom - Top.
Note
|
The BoundsRect property represents the underlying TRect rectangle. You should use the provided properties; Left, Right, Top, Bottom, Width, and Height; to set the rectangle's fields. If you use the BoundsRect field's directly, the OnChange event will not be called.
|
|
|
TRSCustomRSRect
|
Defines a class to contain and perform calculations on a RSGraphics.TRSRect or TRectF. The advantage of using TRSCustomRect (and its descendant class: RSGraphics.TRSObjectRSRect) is that the class can be used as a published property, where the user will be able to set the boundaries of the rectangle at design time.
The TRSCustomRSRect represents the dimensions of a rectangle. The coordinates are specified as four separate floating point numbers representing the left, top, right, and bottom sides.
Typically, values represent pixel locations (FMX or GDI+), where the origin of the pixel coordinate system is in the top left corner of the screen (screen coordinates) or the top left corner of a control's client area (client coordinates). When a TRSCustomRSRect value represents a rectangle on the screen, by convention the top and left edges are considered inside the rectangle and the bottom and right edges are considered outside the rectangle. This convention allows the width of the rectangle to be Right - Left and the height to be Bottom - Top.
Note
|
The BoundsRect property represents the underlying TRSRect rectangle. You should use the provided properties; Left, Right, Top, Bottom, Width, and Height; to set the rectangle's fields. If you use the BoundsRect field's directly, the OnChange event will not be called.
|
|
|
TRSObjectRect
|
Defines a class to contain and perform calculations on a TRect. The advantage of using TRSObjectRect is that the class can be used as a published property, where the user will be able to set the boundaries of the rectangle at design time. The TRSObjectRect class is a descendant of the RSGraphics.TRSCustomRect class which publishes the boundaries of the rectangle represented by the class.
The TRSObjectRect represents the dimensions of a rectangle. The coordinates are specified as four separate integers representing the left, top, right, and bottom sides.
Typically, values represent pixel locations, where the origin of the pixel coordinate system is in the top left corner of the screen (screen coordinates) or the top left corner of a control's client area (client coordinates). When a TRSObjectRect value represents a rectangle on the screen, by convention the top and left edges are considered inside the rectangle and the bottom and right edges are considered outside the rectangle. This convention allows the width of the rectangle to be Right - Left and the height to be Bottom - Top.
Note
|
The BoundsRect property represents the underlying TRect rectangle. You should use the provided properties; Left, Right, Top, Bottom, Width, and Height; to set the rectangle's fields. If you use the BoundsRect field's directly, the OnChange event will not be called.
|
|
|
TRSObjectRSRect
|
Defines a class to contain and perform calculations on a RSGraphics.TRSRect or TRectF. The advantage of using TRSObjectRSRect is that the class can be used as a published property, where the user will be able to set the boundaries of the rectangle at design time. The TRSObjectRSRect class is a descendant of the RSGraphics.TRSCustomRSRect class which publishes the boundaries of the rectangle represented by the class.
The TRSObjectRSRect represents the dimensions of a rectangle. The coordinates are specified as four separate floating point numbers representing the left, top, right, and bottom sides.
Typically, values represent (FMX or GDI+) pixel locations, where the origin of the pixel coordinate system is in the top left corner of the screen (screen coordinates) or the top left corner of a control's client area (client coordinates). When a TRSObjectRSRect value represents a rectangle on the screen, by convention the top and left edges are considered inside the rectangle and the bottom and right edges are considered outside the rectangle. This convention allows the width of the rectangle to be Right - Left and the height to be Bottom - Top.
Note
|
The BoundsRect property represents the underlying TRSRect rectangle. You should use the provided properties; Left, Right, Top, Bottom, Width, and Height; to set the rectangle's fields. If you use the BoundsRect field's directly, the OnChange event will not be called.
|
|
|
TRSPathData
|
TRSPathData represents a series of connected curves and lines.
Note
|
Unlike the Delphi TPathData class, TRSPathData works with both FMX and VCL and may be drawn to either libraries' TCanvas. The TRSPathData class provides much more robust parsing of data strings than TPathData to fulfill the SVG specification for paths. Finally, there are many additional methods in TRSPathData compared to TPathData (for example, AddPolygon).
|
Use TRSPathData to build graphic shapes by connecting a series of curves and lines. TRSPathData can be drawn and filled on objects that have a TCanvas as a component. For VCL, call the DrawPath and FillPath methods. The TVclCanvasHelper also implements DrawPath and FillPath methods for VCL TCanvas.
TRSPathData maintains the coordinates of geometric shapes in world coordinate space in an array of RSGraphics.TRSPathPoint. Each saved point has a specific type, to identify the primitive shape it is defining. Complex shapes of a TRSPathData are composed of a sequence of primitive shapes like lines and curves. To access the array of TRSPathPoint, use Count and Points.
A TRSPathData can be initialized by setting the Data property, or by adding explicitly each new shape. TRSPathData has defined a way to add shapes explicitly. See the TRSPathData functions.
When a TRSPathData is constructed, each new added shape is appended to the end of the TRSPathData, by default. The start point of the new shape is the end point of the previous shape. To customize the start point of a new element to be added, use the MoveTo or MoveToRel method.
|
|
TRSPosition
|
Represents a position (XY) with single precision, floating point numbers.
Note
|
This class is for earlier versions of Delphi that did not define a FMX TPosition type and for use in VCL. For later versions of Delphi, TRSPosition = TPosition.
|
|
|
TRSTransform
|
TRSTransform defines two-dimensional plane transformations.
TRSTransform defines the base transformations in a two-dimensional plane. The base transformations are translation, scaling, and rotation.
The Position property specifies the new position for the translation transformation. The Scale property specifies the scale for the scaling transformation. The RotationAngle and RotationCenter properties specify the angle and the center for the rotation.
The Matrix property shows the final transformation matrix. Matrix elements reflect only a transformation of each kind. When any of the properties is changed, Matrix is updated with the current values of the properties. Matrix does not reflect information of two transformations of the same kind.
TRSTransform does not apply any of the transformations. It keeps the specific information for base transformations and offers access to the transformation matrix.
Note
|
This class is for earlier versions of Delphi that did not define a FMX TTranform type and for use in VCL. For later versions of Delphi, TRSTransform = TTransform.
|
|
|
TVclCanvasHelper
|
Defines a helper class for the VCL TCanvas.
The TVCLCanvasHelper class adds methods and properties that allow the VCL TCanvas to more closely mimic the FMX TCanvas, when it has been extended by the FMX.RS.CanvasHelper unit.
|
Top
|