SetTilingPatternMatrix
Vector graphics
Description
Sets the matrix on an existing tiling pattern, allowing the pattern cell coordinate system to be scaled, rotated, translated, or skewed before use.
Syntax
Delphi
Function SetTilingPatternMatrix(Const PatternName: WideString; M11, M12, M21, M22, MDX, MDY: Double): Integer;Parameters
| PatternName | Name of a tiling pattern previously created in the selected document. |
|---|---|
| M11 | First matrix row, first column. |
| M12 | First matrix row, second column. |
| M21 | Second matrix row, first column. |
| M22 | Second matrix row, second column. |
| MDX | Horizontal translation component. |
| MDY | Vertical translation component. |
Returns
Returns 1 when the named tiling pattern exists and the matrix is stored; returns 0 when the pattern cannot be found.