PMatrix Constructor (Rectangle, Point[])

Constructs a new PMatrix initialized to the geometric transform defined by the specified rectangle and array of points.

public PMatrix(
   Rectangle rect,
   Point[] plgpts


A Rectangle structure that represents the rectangle to be transformed.
An array of three Point structures that represents the points of a parallelogram to which the upper-left, upper-right, and lower-left corners of the rectangle is to be transformed. The lower-right corner of the parallelogram is implied by the first three corners.


This method initializes the new PMatrix such that it represents the geometric transform that maps the rectangle specified by the rect parameter to the parallelogram defined by the three points in the plgpts parameter. The upper-left corner of the rectangle is mapped to the first point in the plgpts array, the upper-right corner is mapped to the second point, and the lower-left corner is mapped to the third point. The lower-left point of the parallelogram is implied by the first three.

See Also

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