Navigation: Code Documentation > RSVclCommon > RSGraphics > Classes > TRSPathData > Methods
TRSPathData.FitToRect(TRSRect) Method
Translates and scales the current TRSPathData to fit a specified rectangle area.
Namespace: RSGraphics
Delphi
public procedure FitToRect(const ARect: TRSRect);
Parameters
ARect
Type: System.Void
Rectangle area to fit the path in.
•RSGraphics.TRSPathData.Points[Integer]
•RSGraphics.TRSPathData.ApplyMatrix(TRSMatrix)
•RSGraphics.TRSPathData.Flatten(Single)
•RSGraphics.TRSPathData.Scale(Single,Single)
•RSGraphics.TRSPathData.Translate(Single,Single)
•RSGraphics.TRSPathData.Clear
•TRSPathData
•RSGraphics