|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.imaging.Blend
public final class Blend
Defines a blend pattern. This class cannot be inherited.
Constructor Summary | |
---|---|
Blend()
Initializes a new instance of the Blend class. |
|
Blend(int count)
Initializes a new instance of the Blend} class with the specified number of factors and positions. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Tests whether the specified object is a Blend class and is equivalent to this Blend class. |
float[] |
getFactors()
Gets the array of blend factors for the gradient. |
float[] |
getPositions()
Gets or sets the array of blend positions for the gradient. |
int |
hashCode()
Returns a hash code for this instance. |
static boolean |
op_Equality(Blend blend1,
Blend blend2)
Tests whether two specified Blend classes are different. |
static boolean |
op_Inequality(Blend blend1,
Blend blend2)
todo not used Tests whether two specified Blend classes are equivalent. |
void |
setFactors(float[] value)
Sets the array of blend factors for the gradient. |
void |
setPositions(float[] value)
Sets the array of blend positions for the gradient. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Blend()
Initializes a new instance of the Blend class. The number of elements in the factor and blend arrays will be equal to 1.
public Blend(int count)
Initializes a new instance of the Blend} class with the specified number of factors and positions.
count
- The number of elements in the factor and position arrays.Method Detail |
---|
public boolean equals(java.lang.Object obj)
Tests whether the specified object is a Blend class and is equivalent to this Blend class.
equals
in class java.lang.Object
obj
- The object to test.
public float[] getFactors()
Gets the array of blend factors for the gradient.
Value: The array of blend factors that specify the percentages of the starting color and the ending color to be used at the corresponding position.
public float[] getPositions()
Gets or sets the array of blend positions for the gradient.
Value: The array of blend positions that specify the percentages of distance along the gradient line.
public int hashCode()
Returns a hash code for this instance.
hashCode
in class java.lang.Object
public static boolean op_Equality(Blend blend1, Blend blend2)
Tests whether two specified Blend classes are different.
blend1
- The Blend that is to the left of the inequality operator.blend2
- The Blend that is to the right of the inequality operator.
public static boolean op_Inequality(Blend blend1, Blend blend2)
Tests whether two specified Blend classes are equivalent.
blend1
- The Blend that is to the left of the equality operator.blend2
- The Blend that is to the right of the equality operator.
public void setFactors(float[] value)
Sets the array of blend factors for the gradient.
Value: The array of blend factors that specify the percentages of the starting color and the ending color to be used at the corresponding position.
public void setPositions(float[] value)
Sets the array of blend positions for the gradient.
Value: The array of blend positions that specify the percentages of distance along the gradient line.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |