Class CustomLineCap

Class CustomLineCap

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.2.0)

カスタムユーザー定義のラインキャップをカプセル化します。

public class CustomLineCap

継承

objectCustomLineCap

継承されたメンバー

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

コンストラクター

CustomLineCap(GraphicsPath, GraphicsPath)

指定されたアウトラインと塗りつぶしでAspose.Imaging.CustomLineCapクラスの新しいインスタンスを初期化します。

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath)

パラメーター

fillPath GraphicsPath

カスタムキャップの塗りつぶしを定義するAspose.Imaging.GraphicsPathオブジェクト。

strokePath GraphicsPath

カスタムキャップのアウトラインを定義するAspose.Imaging.GraphicsPathオブジェクト。

CustomLineCap(GraphicsPath, GraphicsPath, LineCap)

指定された既存のAspose.Imaging.LineCap列挙から、指定されたアウトラインと塗りつぶしでAspose.Imaging.CustomLineCapクラスの新しいインスタンスを初期化します。

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap)

パラメーター

fillPath GraphicsPath

カスタムキャップの塗りつぶしを定義するAspose.Imaging.GraphicsPathオブジェクト。

strokePath GraphicsPath

カスタムキャップのアウトラインを定義するAspose.Imaging.GraphicsPathオブジェクト。

baseCap LineCap

カスタムキャップを作成するためのラインキャップ。

CustomLineCap(GraphicsPath, GraphicsPath, LineCap, float)

指定された既存のAspose.Imaging.LineCap列挙から、指定されたアウトライン、塗りつぶし、およびインセットでAspose.Imaging.CustomLineCapクラスの新しいインスタンスを初期化します。

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap, float baseInset)

パラメーター

fillPath GraphicsPath

カスタムキャップの塗りつぶしを定義するAspose.Imaging.GraphicsPathオブジェクト。

strokePath GraphicsPath

カスタムキャップのアウトラインを定義するAspose.Imaging.GraphicsPathオブジェクト。

baseCap LineCap

カスタムキャップを作成するためのラインキャップ。

baseInset float

キャップとラインの間の距離。

プロパティ

BaseCap

このAspose.Imaging.CustomLineCapが基づいているAspose.Imaging.LineCap列挙を取得または設定します。

public LineCap BaseCap { get; set; }

プロパティ値

LineCap

BaseInset

キャップとラインの間の距離を取得または設定します。

public float BaseInset { get; set; }

プロパティ値

float

FillPath

カスタムキャップの塗りつぶしを定義するオブジェクトを取得または設定します。

public GraphicsPath FillPath { get; set; }

プロパティ値

GraphicsPath

StrokeJoin

このAspose.Imaging.CustomLineCapオブジェクトを構成するラインが結合される方法を決定するAspose.Imaging.LineJoin列挙を取得または設定します。

public LineJoin StrokeJoin { get; set; }

プロパティ値

LineJoin

StrokePath

カスタムキャップのアウトラインを定義するオブジェクトを取得または設定します。

public GraphicsPath StrokePath { get; set; }

プロパティ値

GraphicsPath

WidthScale

System.Drawing.Penオブジェクトの幅に関して、このAspose.Imaging.CustomLineCapクラスオブジェクトをスケーリングする量を取得または設定します。

public float WidthScale { get; set; }

プロパティ値

float

メソッド

Equals(object)

オブジェクトが等しいかどうかを確認します。

public override bool Equals(object obj)

パラメーター

obj object

他のオブジェクト。

戻り値

bool

等価比較の結果。

Equals(CustomLineCap)

オブジェクトが等しいかどうかを確認します。

protected bool Equals(CustomLineCap other)

パラメーター

other CustomLineCap

他のオブジェクト。

戻り値

bool

等価比較の結果。

GetHashCode()

現在のオブジェクトのハッシュコードを取得します。

public override int GetHashCode()

戻り値

int

ハッシュコード。

GetStrokeCaps(out LineCap, out LineCap)

このカスタムキャップを構成するラインの開始および終了に使用されるキャップを取得します。

public void GetStrokeCaps(out LineCap startCap, out LineCap endCap)

パラメーター

startCap LineCap

このキャップ内のラインの開始時に使用されるAspose.Imaging.LineCap列挙。

endCap LineCap

このキャップ内のラインの終了時に使用されるAspose.Imaging.LineCap列挙。

SetStrokeCaps(LineCap, LineCap)

このカスタムキャップを構成するラインの開始および終了に使用されるキャップを設定します。

public void SetStrokeCaps(LineCap startCap, LineCap endCap)

パラメーター

startCap LineCap

このキャップ内のラインの開始時に使用されるAspose.Imaging.LineCap列挙。

endCap LineCap

このキャップ内のラインの終了時に使用されるAspose.Imaging.LineCap列挙。

 日本語