Piccolo.NET

PMatrix.ScaleBy Method (Single, Single)

Applies the specified scale vector to this PMatrix object by prepending the scale vector.

public virtual void ScaleBy(
   float scaleX,
   float scaleY
);

Parameters

scaleX
The value by which to scale this PMatrix in the x-axis direction.
scaleY
The value by which to scale this PMatrix in the y-axis direction.

Remarks

This value will be applied to the current scale value of the matrix. This is not the same as setting the Scale directly.

See Also

PMatrix Class | UMD.HCIL.Piccolo.Util Namespace | PMatrix.ScaleBy Overload List


Web Accessibility