public class GdFlResource extends FillLayerResource
LayerResource
Modifier and Type | Field and Description |
---|---|
static int |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature
Constructor and Description |
---|
GdFlResource()
Initializes a new instance of the
GdFlResource.GdFlResource()
class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getAlignWithLayer() |
double |
getAngle()
Gets or sets the angle.
|
Color |
getColor() |
IGradientColorPoint[] |
getColorPoints()
Gets the color points.
|
boolean |
getDither() |
double |
getGradientInterval()
Gets or sets the gradient interval.
|
String |
getGradientName()
Gets or sets the name of the gradient.
|
int |
getGradientType() |
double |
getHorizontalOffset()
Gets or sets the horizontal offset.
|
int |
getKey()
Gets the layer resource key.
|
int |
getLength()
Gets the layer resource length in bytes.
|
int |
getPsdVersion()
Gets the minimal psd version required for layer resource.
|
boolean |
getReverse() |
int |
getScale()
Gets or sets the scale.
|
int |
getSignature()
Gets the layer resource signature.
|
IGradientTransparencyPoint[] |
getTransparencyPoints()
Gets the transparency points.
|
double |
getVerticalOffset()
Gets or sets the vertical offset.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the resource to the specified stream container.
|
void |
setAlignWithLayer(boolean value) |
void |
setAngle(double value) |
void |
setColor(Color value) |
void |
setColorPoints(IGradientColorPoint[] value) |
void |
setDither(boolean value) |
void |
setGradientInterval(double value) |
void |
setGradientName(String value) |
void |
setGradientType(int value) |
void |
setHorizontalOffset(double value) |
void |
setReverse(boolean value) |
void |
setScale(int value) |
void |
setTransparencyPoints(IGradientTransparencyPoint[] value) |
void |
setVerticalOffset(double value) |
toString
public static final int TypeToolKey
public GdFlResource()
GdFlResource.GdFlResource()
class.public Color getColor()
public void setColor(Color value)
public int getSignature()
getSignature
in class FillLayerResource
public int getKey()
getKey
in class LayerResource
public int getLength()
getLength
in class LayerResource
public int getPsdVersion()
getPsdVersion
in class LayerResource
public double getAngle()
The angle.
public void setAngle(double value)
public int getScale()
The scale.
public void setScale(int value)
public double getHorizontalOffset()
The horizontal offset.
public void setHorizontalOffset(double value)
public double getVerticalOffset()
The vertical offset.
public void setVerticalOffset(double value)
public int getGradientType()
public void setGradientType(int value)
public IGradientColorPoint[] getColorPoints()
The color points.
public void setColorPoints(IGradientColorPoint[] value)
public IGradientTransparencyPoint[] getTransparencyPoints()
The transparency points.
public void setTransparencyPoints(IGradientTransparencyPoint[] value)
public String getGradientName()
The name of the gradient.
public void setGradientName(String value)
public double getGradientInterval()
The gradient interval.
public void setGradientInterval(double value)
public boolean getReverse()
public void setReverse(boolean value)
public boolean getDither()
public void setDither(boolean value)
public boolean getAlignWithLayer()
public void setAlignWithLayer(boolean value)
public void save(StreamContainer streamContainer, int psdVersion)
save
in class LayerResource
streamContainer
- The stream container to save to.psdVersion
- The PSD version.