Class TextShape

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, Font, 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; }

부동산 가치

RectangleF

Center

그것은 형태의 중심을 얻습니다.

[JsonIgnore]
public override PointF Center { get; }

부동산 가치

PointF

Font

텍스트를 인쇄하는 데 사용되는 글꼴을 얻거나 설정합니다.

public Font Font { get; set; }

부동산 가치

Font

HasSegments

그것은 모양이 세그먼트를 가지고 있는지 여부를 나타내는 값을 얻습니다.

[JsonIgnore]
public override bool HasSegments { get; }

부동산 가치

bool

Segments

형태의 세그먼트를 얻습니다.

[JsonIgnore]
public override ShapeSegment[] Segments { get; }

부동산 가치

ShapeSegment [ ] [ [ ]

Text

가져오거나 추출 된 텍스트를 설정합니다.

public string Text { get; set; }

부동산 가치

string

TextFormat

텍스트 형식을 얻거나 설정합니다.

public StringFormat TextFormat { get; set; }

부동산 가치

StringFormat

Methods

Equals(객체)

물건이 평등한지 확인하십시오.

public override bool Equals(object obj)

Parameters

obj object

다른 물건은

Returns

bool

평등 비교의 결과입니다.

GetBounds(Matrix)

개체의 한계를 얻는다.

public override RectangleF GetBounds(Matrix matrix)

Parameters

matrix Matrix

경계 전에 적용해야 할 매트릭스는 계산됩니다.

Returns

RectangleF

추정된 개체의 경계를

GetBounds(매트릭스, 펜)

개체의 한계를 얻는다.

public override RectangleF GetBounds(Matrix matrix, Pen pen)

Parameters

matrix Matrix

경계 전에 적용해야 할 매트릭스는 계산됩니다.

pen Pen

개체에 사용하는 펜.이것은 개체의 경계 크기에 영향을 미칠 수 있습니다.

Returns

RectangleF

추정된 개체의 경계를

GetHashCode()

현재 객체의 해시 코드를 얻으십시오.

public override int GetHashCode()

Returns

int

해시 코드 입니다.

Transform(Matrix)

지정된 변형을 형태로 적용합니다.

public override void Transform(Matrix transform)

Parameters

transform Matrix

변화를 적용해야 한다.

 한국어