Enum LineJoinType
LineJoinType enumeration
Jenis Gabung Baris.
public enum LineJoinType : short
Nilai
Nama | Nilai | Keterangan |
---|---|---|
BevelJoin | 0 | Jenis gabungan bevel. |
RoundJoin | 1 | Jenis gabung bulat. |
MiterJoin | 2 | Mitre join type. |
Contoh
Kode berikut menunjukkan dukungan sumber daya VstkResource.
[C#]
string srcFile = "StrokeShapeTest1.psd";
string dstFile = "StrokeShapeTest2.psd";
using (PsdImage image = (PsdImage)Image.Load(srcFile))
{
Layer layer = image.Layers[1];
foreach (LayerResource resource in layer.Resources)
{
if (resource is VstkResource)
{
VstkResource vstkResource = (VstkResource)resource;
vstkResource.StrokeStyleLineAlignment = StrokePosition.Outside;
vstkResource.StrokeStyleLineWidth = 20;
}
}
image.Save(dstFile);
}
Lihat juga
- ruang nama Aspose.PSD.FileFormats.Psd.Layers.LayerResources.StrokeResources
- perakitan Aspose.PSD