TextureBrush()
Contents
[
Hide
]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)
Arguments
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 |
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)
Arguments
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 |
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)
Arguments
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 |
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)
Arguments
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 |
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)
Arguments
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
- Enum WrapMode
- Typedef SharedPtr
- Class Image
- Class TextureBrush
- Class RectangleF
- Class ImageAttributes
- Class Rectangle
- Namespace System::Drawing
- Library Aspose.Slides