TextureBrush()

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

ParameterTypeDescription
imageconst SharedPtr<Image>&An image used by the brush to fill the interior of a shape
wrap_modeDrawing2D::WrapModeSpecifies 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

ParameterTypeDescription
imageconst SharedPtr<Image>&An image used by the brush to fill the interior of a shape
dst_rectRectangleFSpecifies the bounding rectangle for the brush
image_attrsconst 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

ParameterTypeDescription
imageconst SharedPtr<Image>&An image used by the brush to fill the interior of a shape
dst_rectRectangleSpecifies the bounding rectangle for the brush
image_attrsconst 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

ParameterTypeDescription
imageconst SharedPtr<Image>&An image used by the brush to fill the interior of a shape
wrap_modeDrawing2D::WrapModeSpecifies how the brush object is tiled
dst_rectRectangleFSpecifies 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

ParameterTypeDescription
imageconst SharedPtr<Image>&An image used by the brush to fill the interior of a shape
wrap_modeDrawing2D::WrapModeSpecifies how the brush object is tiled
dst_rectRectangleSpecifies the bounding rectangle for the brush

See Also