VscgResource Class

Summary: Vector Stroke Content Data resource.

Module: aspose.psd.fileformats.psd.layers.layerresources.strokeresources

Full Name: aspose.psd.fileformats.psd.layers.layerresources.strokeresources.VscgResource

Inheritance: LayerResource

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
VscgResource()Initializes a new instance of the VscgResource class

Properties

NameTypeAccessDescription
PSB_RESOURCE_SIGNATURE [static]intrThe PSB-specific resource signature.
RESOURCE_SIGNATURE [static]intrThe common resource signature.
TYPE_TOOL_KEY [static]intrThe type tool info key.
itemsOSTypeStructure[]rGets or sets the structure items.
keyintrGets the layer resource key.
key_for_dataintrInteger key that defines what kind of fill settings is tored in the resource:
* Color - 0x536f436f - SoCoResource.TypeToolKey
* Gradient - 0x4764466c - GdFlResource.TypeToolKey
* Pattern - 0x5074466c - PtFlResource.TypeToolKey
lengthintrGets the layer resource length in bytes.
psd_versionintrGets the psd version.
signatureintrGets the signature.

Methods

NameDescription
save(stream_container, psd_version)Saves the resource to the specified stream container.

Constructor: VscgResource()

 VscgResource() 

Initializes a new instance of the VscgResource class

Method: save(stream_container, psd_version)

 save(stream_container, psd_version) 

Saves the resource to the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container to save to.
psd_versionintThe PSD version.