ICanvas.Scale(Single, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.