System::Drawing::TextureBrush class
Contents
[
Hide
]TextureBrush class
Represents a brush that uses an image to fill the interior of a shape. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class TextureBrush : public System::Drawing::Brush
Methods
Method | Description |
---|---|
Clone() override | Creates a copy of the current object. |
get_Image() | Returns an image used by the current TextureBrush object. |
get_Transform() | Returns a copy of a Matrix object that specifies the geometrical transformations for the brush represneted by the current object. |
get_WrapMode() | Returns a value that specifies how the brush represented by the current object is tiled. |
MultiplyTransform(const SharedPtr<Drawing2D::Matrix>&, Drawing2D::MatrixOrder) | Multiplies current object’s transform matrix by the specified matrix. |
ResetTransform() | Resets the current object’s transform matrix so that it becomes an identity matrix. |
RotateTransform(float, Drawing2D::MatrixOrder) | Rotates the local geometric transformation by the specified angle in the specified order. |
ScaleTransform(float, float, Drawing2D::MatrixOrder) | Scales the local geometric transformation by the specified factors in the specified order. |
set_Transform(const System::SharedPtr<Drawing2D::Matrix>&) | Sets a Matrix object that specifies the geometrical transformations for the brush represneted by the current object. |
set_WrapMode(Drawing2D::WrapMode) | Sets a value that specifies how the brush represented by the current object is tiled. |
TextureBrush(const SharedPtr<Image>&, Drawing2D::WrapMode) | Constructs a new instance of TextureBrush class that uses the specified image. |
TextureBrush(const SharedPtr<Image>&, RectangleF, const SharedPtr<Imaging::ImageAttributes>&) | Constructs a new instance of TextureBrush class that uses the specified image. |
TextureBrush(const SharedPtr<Image>&, Rectangle, const SharedPtr<Imaging::ImageAttributes>&) | Constructs a new instance of TextureBrush class that uses the specified image. |
TextureBrush(const SharedPtr<Image>&, Drawing2D::WrapMode, RectangleF) | Constructs a new instance of TextureBrush class that uses the specified image. |
TextureBrush(const SharedPtr<Image>&, Drawing2D::WrapMode, Rectangle) | Constructs a new instance of TextureBrush class that uses the specified image. |
TranslateTransform(float, float, Drawing2D::MatrixOrder) | Translates the local geometric transformation by the specified dimensions in the specified order. |
virtual ~TextureBrush() | Destructor. |
See Also
- Class Brush
- Namespace System::Drawing
- Library Aspose.TeX for C++