GdFlResource Class

Summary: Class GdFlResource.
This resource contains information about blending of clipped element.

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

Full Name: aspose.psd.fileformats.psd.layers.layerresources.GdFlResource

Inheritance: FillLayerResource

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
GdFlResource()Initializes a new instance of the GdFlResource 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.
align_with_layerboolr/wGets or sets a value indicating whether [align with layer].
angledoubler/wGets or sets the angle.
colorColorr/wGets the color of the RGB.
color_modelstringr/wColor Model - RGB/HSB/LAB (“RGBC”/“HSBl”/“LbCl”).
color_pointsIGradientColorPoint[]r/wGets the color points.
ditherboolr/wGets or sets a value indicating whether this GdFlResource is dither.
gradient_intervaldoubler/wGets or sets the gradient interval.
gradient_modestringr/wMode for this gradient.
Determines ‘Gradient Type’ = ‘Solid/Noise’ = “CstS”/“ClNs”.
gradient_namestringr/wGets or sets the name of the gradient.
gradient_typeGradientTyper/wGets or sets the type of the gradient.
horizontal_offsetdoubler/wGets or sets the horizontal offset.
keyintrGets the layer resource key.
lengthintrGets the layer resource length in bytes.
maximum_colorRawColorr/wMaximum color of PixelDataFormat.
minimum_colorRawColorr/wMinimum color of PixelDataFormat.
psd_versionintrGets the minimal psd version required for layer resource. 0 indicates no restrictions.
reverseboolr/wGets or sets a value indicating whether this GdFlResource is reverse.
rnd_number_seedintr/wThe random number seed used to generate colors for Noise gradient.
roughnessintr/wRoughness factor.
scaleintr/wGets or sets the scale.
show_transparencyboolr/wFlag for showing transparency.
signatureintrGets the layer resource signature.
transparency_pointsIGradientTransparencyPoint[]r/wGets the transparency points.
use_vector_colorboolr/wFlag for using vector color.
vertical_offsetdoubler/wGets or sets the vertical offset.

Methods

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

Constructor: GdFlResource()

 GdFlResource() 

Initializes a new instance of the GdFlResource 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.