ICanvas.Scale(Single, Single) Method

Definition

Changes the size of a graphical object by scaling it.

public:
 void Scale(float sx, float sy);
public void Scale (float sx, float sy);
abstract member Scale : single * single -> unit
Public Sub Scale (sx As Single, sy As Single)

Parameters

sx
Single

Value for horizontal scaling.

sy
Single

Value for vertical scaling.

Remarks

Can cause starting coordinates to move when an object is made larger.

Applies to