Enum LineJoinType
LineJoinType enumeration
Line Join type.
public enum LineJoinType : short
Values
Name | Value | Description |
---|---|---|
BevelJoin | 0 | Bevel join type. |
RoundJoin | 1 | Rounnd join type. |
MiterJoin | 2 | Miter join type. |
Examples
The following code demonstrates the support of VstkResource resource.
[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);
}
See Also
- namespace Aspose.PSD.FileFormats.Psd.Layers.LayerResources.StrokeResources
- assembly Aspose.PSD