System::Drawing::TextureBrush 类
内容
[
隐藏
]TextureBrush class
表示一种使用图像填充形状内部的画刷。此类的对象应仅使用 System::MakeObject() 函数分配。切勿在栈上或使用 operator new 创建此类型的实例,因为这会导致运行时错误和/或断言故障。始终将此类包装到 System::SmartPtr 指针中,并使用该指针在函数调用时作为参数传递。
class TextureBrush : public System::Drawing::Brush
方法
| 方法 | 描述 |
|---|---|
| Clone() override | 创建当前对象的副本。 |
| get_Image() | 返回当前 TextureBrush 对象使用的图像。 |
| get_Transform() | 返回一个 Matrix 对象的副本,该对象指定当前对象所表示的画刷的几何变换。 |
| get_WrapMode() | 返回一个值,指定当前对象所表示的画刷的平铺方式。 |
| MultiplyTransform(const SharedPtr<Drawing2D::Matrix>&, Drawing2D::MatrixOrder) | 将当前对象的变换矩阵乘以指定的矩阵。 |
| ResetTransform() | 重置当前对象的变换矩阵,使其成为单位矩阵。 |
| RotateTransform(float, Drawing2D::MatrixOrder) | 按指定顺序以指定角度旋转局部几何变换。 |
| ScaleTransform(float, float, Drawing2D::MatrixOrder) | 按指定顺序以指定因子缩放局部几何变换。 |
| set_Transform(const System::SharedPtr<Drawing2D::Matrix>&) | 设置一个 Matrix 对象,该对象指定当前对象所表示的画刷的几何变换。 |
| set_WrapMode(Drawing2D::WrapMode) | 设置一个值,指定当前对象所表示的画刷的平铺方式。 |
| TextureBrush(const SharedPtr<Image>&, Drawing2D::WrapMode) | 构造一个使用指定图像的 TextureBrush 类的新实例。 |
| TextureBrush(const SharedPtr<Image>&, RectangleF, const SharedPtr<Imaging::ImageAttributes>&) | 构造一个使用指定图像的 TextureBrush 类的新实例。 |
| TextureBrush(const SharedPtr<Image>&, Rectangle, const SharedPtr<Imaging::ImageAttributes>&) | 构造一个使用指定图像的 TextureBrush 类的新实例。 |
| TextureBrush(const SharedPtr<Image>&, Drawing2D::WrapMode, RectangleF) | 构造一个使用指定图像的 TextureBrush 类的新实例。 |
| TextureBrush(const SharedPtr<Image>&, Drawing2D::WrapMode, Rectangle) | 构造一个使用指定图像的 TextureBrush 类的新实例。 |
| TranslateTransform(float, float, Drawing2D::MatrixOrder) | 按指定顺序以指定的尺寸平移局部几何变换。 |
| virtual ~TextureBrush() | 析构函数。 |
另见
- Class Brush
- Namespace System::Drawing
- Library Aspose.Font for C++