Class TextShape
名称: Aspose.Imaging.Shapes アセンション: Aspose.Imaging.dll (25.4.0)
テキスト形式を表す。
[JsonObject(MemberSerialization.OptIn)]
public sealed class TextShape : RectangleProjectedShape
Inheritance
object ← ObjectWithBounds ← Shape ← RectangleProjectedShape ← TextShape
相続人
RectangleProjectedShape.GetBounds(Matrix) , RectangleProjectedShape.GetBounds(Matrix, Pen) , RectangleProjectedShape.Transform(Matrix) , RectangleProjectedShape.Equals(object) , RectangleProjectedShape.GetHashCode() , RectangleProjectedShape.LeftTop , RectangleProjectedShape.RightTop , RectangleProjectedShape.LeftBottom , RectangleProjectedShape.RightBottom , RectangleProjectedShape.Center , RectangleProjectedShape.Bounds , RectangleProjectedShape.RectangleWidth , RectangleProjectedShape.RectangleHeight , RectangleProjectedShape.HasSegments , Shape.Equals(object) , Shape.GetHashCode() , Shape.Center , Shape.Segments , Shape.HasSegments , ObjectWithBounds.GetBounds(Matrix) , ObjectWithBounds.GetBounds(Matrix, Pen) , ObjectWithBounds.Transform(Matrix) , ObjectWithBounds.Equals(object) , ObjectWithBounds.GetHashCode() , ObjectWithBounds.Bounds , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
TextShape()
Aspose.Imaging.Shapes.TextShape クラスの新しい例を開始します。
[JsonConstructor]
public TextShape()
TextShape(ストリップ、RectangleF、フォント、StringFormat)
Aspose.Imaging.Shapes.TextShape クラスの新しい例を開始します。
public TextShape(string text, RectangleF rectangle, Font font, StringFormat stringFormat)
Parameters
text
string
引っ張るテキスト。
rectangle
RectangleF
テキストは直角。
font
Font
使用するフォント
stringFormat
StringFormat
ストレッチフォーマット
Properties
Bounds
オブジェクトの境界線を見つける。
[JsonIgnore]
public override RectangleF Bounds { get; }
不動産価値
Center
形状の中心となる。
[JsonIgnore]
public override PointF Center { get; }
不動産価値
Font
テキストを描くために使用された文字を入力または設定します。
public Font Font { get; set; }
不動産価値
HasSegments
形状がセグメントを持っているかどうかを示す値を得る。
[JsonIgnore]
public override bool HasSegments { get; }
不動産価値
Segments
形のセグメントを取得します。
[JsonIgnore]
public override ShapeSegment[] Segments { get; }
不動産価値
ShapeSegment ( )
Text
引き出されたテキストを取得または設定します。
public string Text { get; set; }
不動産価値
TextFormat
テキスト形式を取得または設定します。
public StringFormat TextFormat { get; set; }
不動産価値
Methods
Equals(対象)
物体が平等であるかどうかを確認する。
public override bool Equals(object obj)
Parameters
obj
object
他のオブジェクト
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()
現在のオブジェクトのハッシュコードを取得します。
public override int GetHashCode()
Returns
ハッシュコード
Transform(Matrix)
形状に指定された変換を適用します。
public override void Transform(Matrix transform)
Parameters
transform
Matrix
適用される変革。