public final class Blend extends Object
Defines a blend pattern for a LinearGradientBrush object.
This class cannot be inherited.
| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
float[] |
getFactors()
Gets an array of blend factors for the gradient.
|
float[] |
getPositions()
Gets an array of blend positions for the gradient.
|
void |
setFactors(float[] value)
Sets an array of blend factors for the gradient.
|
void |
setPositions(float[] value)
Sets an array of blend positions for the gradient.
|
public Blend()
Initializes a new instance of the Blend class.
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 Blend.Factors
and Blend.Positions arrays.public float[] getFactors()
Gets an array of blend factors for the gradient.
public void setFactors(float[] value)
Sets an array of blend factors for the gradient.
value - an array of blend factors for the gradient.public float[] getPositions()
Gets an array of blend positions for the gradient.
public void setPositions(float[] value)
Sets an array of blend positions for the gradient.
value - an array of blend positions for the gradient.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.