ICanvasRenderingContext2DScale Method |
Adds a scaling transformation to the canvas units by x horizontally and by y vertically.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxvoid Scale(
double x,
double y
)
Sub Scale (
x As Double,
y As Double
)
void Scale(
double x,
double y
)
abstract Scale :
x : float *
y : float -> unit
Parameters
- x
- Type: SystemDouble
Scaling factor in the horizontal direction. - y
- Type: SystemDouble
Scaling factor in the vertical direction.
See Also