Class RectangleProjectedShape
名称: Aspose.Imaging.Shapes 收藏: Aspose.Imaging.dll (25.4.0)
代表一个形状,在向某个特定方向转向的直角上进行投影。由四个点指定,可以在空间中旋转,保持相同的边缘长度和附近边缘之间的90度。
[JsonObject(MemberSerialization.OptIn)]
public abstract class RectangleProjectedShape : Shape
Inheritance
object ← ObjectWithBounds ← Shape ← RectangleProjectedShape
Derived
继承人
Shape.Equals(object) , Shape.GetHashCode() , Shape.Equals(Shape) , Shape.Center , Shape.Segments , Shape.HasSegments , ObjectWithBounds.GetBounds(Matrix) , ObjectWithBounds.GetBounds(Matrix, Pen) , ObjectWithBounds.Transform(Matrix) , ObjectWithBounds.Equals(object) , ObjectWithBounds.GetHashCode() , ObjectWithBounds.Equals(ObjectWithBounds) , ObjectWithBounds.Bounds , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
RectangleProjectedShape()
启动了 Aspose.Imaging.Shapes.RectangleProjectedShape 类的新例子。
[JsonConstructor]
public RectangleProjectedShape()
RectangleProjectedShape(直角)
启动了 Aspose.Imaging.Shapes.RectangleProjectedShape 类的新例子。
public RectangleProjectedShape(RectangleF rectangle)
Parameters
rectangle
RectangleF
直角以启动。
Properties
Bounds
抓住对象的界限。
[JsonIgnore]
public override RectangleF Bounds { get; }
财产价值
Center
得到形状的中心。
[JsonIgnore]
public override PointF Center { get; }
财产价值
HasSegments
收到一个值,表明形状是否有部分。
[JsonIgnore]
public override bool HasSegments { get; }
财产价值
LeftBottom
得到左底直角点。
public PointF LeftBottom { get; }
财产价值
LeftTop
得到左上方直角点。
public PointF LeftTop { get; }
财产价值
RectangleHeight
得到直角高度。
[JsonIgnore]
public double RectangleHeight { get; }
财产价值
RectangleWidth
接收直角宽度。
[JsonIgnore]
public double RectangleWidth { get; }
财产价值
RightBottom
得到右底直角点。
public PointF RightBottom { get; }
财产价值
RightTop
得到右上方直角点。
public PointF RightTop { get; }
财产价值
Methods
Equals(对象)
确定所指定的 System.Object 是否相当于此例。
public override bool Equals(object obj)
Parameters
obj
object
系统.对象与这个例子进行比较。
Returns
“真实”如果指定的 System.Object 等于此例;否则,“虚假”。
Equals(RectangleProjectedShape)
检查对象是否平等。
protected bool Equals(RectangleProjectedShape other)
Parameters
other
RectangleProjectedShape
其它对象。
Returns
平等比较结果。
GetBounds(Matrix)
抓住对象的界限。
public override RectangleF GetBounds(Matrix matrix)
Parameters
matrix
Matrix
在限制之前应用的矩阵将被计算。
Returns
估计对象的界限。
GetBounds(马特里克斯,笔)
抓住对象的界限。
public override RectangleF GetBounds(Matrix matrix, Pen pen)
Parameters
matrix
Matrix
在限制之前应用的矩阵将被计算。
pen
Pen
用于对象的铅笔,这可能会影响对象的边界大小。
Returns
估计对象的界限。
GetHashCode()
返回此例的Hash代码。
public override int GetHashCode()
Returns
此例的哈希代码,适合在哈希算法和数据结构中使用,如哈希表。
Transform(Matrix)
将所指定的转型应用到形状。
public override void Transform(Matrix transform)
Parameters
transform
Matrix
转型适用。