Aspose::Pdf::Matrix::Rotation method

Matrix::Rotation(Aspose::Pdf::Rotation) method

Creates matrix for given rotation.

static System::SharedPtr<Matrix> Aspose::Pdf::Matrix::Rotation(Aspose::Pdf::Rotation rotation)
ParameterTypeDescription
rotationAspose::Pdf::RotationRotation. Valid values are: None, on90, on180, on270

ReturnValue

Matrix with rotation.

See Also

Matrix::Rotation(double) method

Creates matrix for given rotation angle.

static System::SharedPtr<Matrix> Aspose::Pdf::Matrix::Rotation(double alpha)
ParameterTypeDescription
alphadoubleRotation angle in radians.

ReturnValue

Transformation matrix.

See Also