[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Drawing.PathExtensions.Scale

Scale Method

Scale(PathEx, float, float)

Creates a new path where all coordinates are scaled by the specified ratio.

Declaration
public static PathEx Scale(this PathEx path, float xScale, float yScale)
Parameters
Type Name Description
PathEx path

The original path to be scaled.

float xScale

The value to scale by on the X axis.

float yScale

The value to scale by on the Y axis.

Returns
Type Description
PathEx

The scaled path.