Class CustomLineCap

Class CustomLineCap

名称: Aspose.Imaging 收藏: Aspose.Imaging.dll (25.4.0)

包含个性化用户定义的线条封面。

public class CustomLineCap

Inheritance

object CustomLineCap

继承人

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

Constructors

CustomLineCap(图形,图形,图形)

启动 Aspose.Imaging.CustomLineCap 类的新例子,并填写指定的排序。

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath)

Parameters

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)

Parameters

fillPath GraphicsPath

一个 Aspose.Imaging.GraphicsPath 对象,定义填写为自定义的封面。

strokePath GraphicsPath

一个 Aspose.Imaging.GraphicsPath 对象,定义了自定义的字符串。

baseCap LineCap

线头从哪里创建定制头。

CustomLineCap(GraphicsPath, GraphicsPath, LineCap,浮动)

从指定的现有 Aspose.Imaging.LineCap 列表中启动了 Aspose.Imaging.CustomLineCap 类的新例子,并将指定的排序、填写和插入。

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

Parameters

fillPath GraphicsPath

一个 Aspose.Imaging.GraphicsPath 对象,定义填写为自定义的封面。

strokePath GraphicsPath

一个 Aspose.Imaging.GraphicsPath 对象,定义了自定义的字符串。

baseCap LineCap

线头从哪里创建定制头。

baseInset float

接口和线之间的距离。

Properties

BaseCap

获取或设置 Aspose.Imaging.LineCap 列表,该 Aspose.Imaging.CustomLineCap 是基于。

public LineCap BaseCap { get; set; }

财产价值

LineCap

BaseInset

接收或设置帽子和线之间的距离。

public float BaseInset { get; set; }

财产价值

float

FillPath

接收或设置定义为自定义封面填写的对象。

public GraphicsPath FillPath { get; set; }

财产价值

GraphicsPath

StrokeJoin

获取或设置 Aspose.Imaging.LineJoin 列表,确定构成此 Aspose.Imaging.CustomLineCap 对象的线条是如何加入的。

public LineJoin StrokeJoin { get; set; }

财产价值

LineJoin

StrokePath

接收或设置定义自定义封面的外线的对象。

public GraphicsPath StrokePath { get; set; }

财产价值

GraphicsPath

WidthScale

获取或设置这个 Aspose.Imaging.CustomLineCap 类对象的规模与 System.Drawing.Pen 对象的宽度有关的数量。

public float WidthScale { get; set; }

财产价值

float

Methods

Equals(对象)

检查对象是否平等。

public override bool Equals(object obj)

Parameters

obj object

其它对象。

Returns

bool

平等比较结果。

Equals(CustomLineCap)

检查对象是否平等。

protected bool Equals(CustomLineCap other)

Parameters

other CustomLineCap

其它对象。

Returns

bool

平等比较结果。

GetHashCode()

获取当前对象的哈希代码。

public override int GetHashCode()

Returns

int

哈希代码。

GetStrokeCaps(出 LineCap,出 LineCap)

接收用于启动和结束的线条,构成这个定制的封面。

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

Parameters

startCap LineCap

Aspose.Imaging.LineCap 列表在本字幕内的行列的开始时使用。

endCap LineCap

使用 Aspose.Imaging.LineCap 列表在此封面内的线条的尽头。

SetStrokeCaps(LineCap、LineCap)

设置用于启动和结束的线条,构成这个定制的封面。

public void SetStrokeCaps(LineCap startCap, LineCap endCap)

Parameters

startCap LineCap

Aspose.Imaging.LineCap 列表在本字幕内的行列的开始时使用。

endCap LineCap

使用 Aspose.Imaging.LineCap 列表在此封面内的线条的尽头。

 中文