System::Drawing::TextureBrush::TextureBrush constructor
Contents
[
Hide
]TextureBrush::TextureBrush(const SharedPtr<Image>&, Drawing2D::WrapMode, Rectangle) constructor
Constructs a new instance of TextureBrush class that uses the specified image.
System::Drawing::TextureBrush::TextureBrush(const SharedPtr<Image> &image, Drawing2D::WrapMode wrap_mode, Rectangle dst_rect)
| Parameter | Type | Description |
|---|---|---|
| image | const SharedPtr<Image>& | An image used by the brush to fill the interior of a shape |
| wrap_mode | Drawing2D::WrapMode | Specifies how the brush object is tiled |
| dst_rect | Rectangle | Specifies the bounding rectangle for the brush |
See Also
- Typedef SharedPtr
- Class Image
- Enum WrapMode
- Class Rectangle
- Class TextureBrush
- Namespace System::Drawing
- Library Aspose.Font for C++
TextureBrush::TextureBrush(const SharedPtr<Image>&, Drawing2D::WrapMode, RectangleF) constructor
Constructs a new instance of TextureBrush class that uses the specified image.
System::Drawing::TextureBrush::TextureBrush(const SharedPtr<Image> &image, Drawing2D::WrapMode wrap_mode, RectangleF dst_rect)
| Parameter | Type | Description |
|---|---|---|
| image | const SharedPtr<Image>& | An image used by the brush to fill the interior of a shape |
| wrap_mode | Drawing2D::WrapMode | Specifies how the brush object is tiled |
| dst_rect | RectangleF | Specifies the bounding rectangle for the brush |
See Also
- Typedef SharedPtr
- Class Image
- Enum WrapMode
- Class RectangleF
- Class TextureBrush
- Namespace System::Drawing
- Library Aspose.Font for C++
TextureBrush::TextureBrush(const SharedPtr<Image>&, Drawing2D::WrapMode) constructor
Constructs a new instance of TextureBrush class that uses the specified image.
System::Drawing::TextureBrush::TextureBrush(const SharedPtr<Image> &image, Drawing2D::WrapMode wrap_mode=Drawing2D::WrapMode::Tile)
| Parameter | Type | Description |
|---|---|---|
| image | const SharedPtr<Image>& | An image used by the brush to fill the interior of a shape |
| wrap_mode | Drawing2D::WrapMode | Specifies how the brush object is tiled |
See Also
- Typedef SharedPtr
- Class Image
- Enum WrapMode
- Class TextureBrush
- Namespace System::Drawing
- Library Aspose.Font for C++
TextureBrush::TextureBrush(const SharedPtr<Image>&, Rectangle, const SharedPtr<Imaging::ImageAttributes>&) constructor
Constructs a new instance of TextureBrush class that uses the specified image.
System::Drawing::TextureBrush::TextureBrush(const SharedPtr<Image> &image, Rectangle dst_rect, const SharedPtr<Imaging::ImageAttributes> &image_attrs=nullptr)
| Parameter | Type | Description |
|---|---|---|
| image | const SharedPtr<Image>& | An image used by the brush to fill the interior of a shape |
| dst_rect | Rectangle | Specifies the bounding rectangle for the brush |
| image_attrs | const SharedPtr<Imaging::ImageAttributes>& | The image attributes |
See Also
- Typedef SharedPtr
- Class Image
- Class Rectangle
- Class ImageAttributes
- Class TextureBrush
- Namespace System::Drawing
- Library Aspose.Font for C++
TextureBrush::TextureBrush(const SharedPtr<Image>&, RectangleF, const SharedPtr<Imaging::ImageAttributes>&) constructor
Constructs a new instance of TextureBrush class that uses the specified image.
System::Drawing::TextureBrush::TextureBrush(const SharedPtr<Image> &image, RectangleF dst_rect, const SharedPtr<Imaging::ImageAttributes> &image_attrs=nullptr)
| Parameter | Type | Description |
|---|---|---|
| image | const SharedPtr<Image>& | An image used by the brush to fill the interior of a shape |
| dst_rect | RectangleF | Specifies the bounding rectangle for the brush |
| image_attrs | const SharedPtr<Imaging::ImageAttributes>& | The image attributes |
See Also
- Typedef SharedPtr
- Class Image
- Class RectangleF
- Class ImageAttributes
- Class TextureBrush
- Namespace System::Drawing
- Library Aspose.Font for C++