public class LineFormat
Property Getters/Setters Summary | ||
---|---|---|
int | getBeginArrowheadLength() | |
void | setBeginArrowheadLength(intvalue) | |
Gets and sets the begin arrow length type of the line. The value of the property is MsoArrowheadLength integer constant. | ||
int | getBeginArrowheadStyle() | |
void | setBeginArrowheadStyle(intvalue) | |
Gets and sets the begin arrow type of the line. The value of the property is MsoArrowheadStyle integer constant. | ||
int | getBeginArrowheadWidth() | |
void | setBeginArrowheadWidth(intvalue) | |
Gets and sets the begin arrow width type of the line. The value of the property is MsoArrowheadWidth integer constant. | ||
int | getCapType() | |
void | setCapType(intvalue) | |
Specifies the ending caps. The value of the property is LineCapType integer constant. | ||
int | getCompoundType() | |
void | setCompoundType(intvalue) | |
Specifies the line compound type. The value of the property is MsoLineStyle integer constant. | ||
int | getDashStyle() | |
void | setDashStyle(intvalue) | |
Specifies the line dash type. The value of the property is MsoLineDashStyle integer constant. | ||
int | getEndArrowheadLength() | |
void | setEndArrowheadLength(intvalue) | |
Gets and sets the end arrow length type of the line. The value of the property is MsoArrowheadLength integer constant. | ||
int | getEndArrowheadStyle() | |
void | setEndArrowheadStyle(intvalue) | |
Gets and sets the end arrow type of the line. The value of the property is MsoArrowheadStyle integer constant. | ||
int | getEndArrowheadWidth() | |
void | setEndArrowheadWidth(intvalue) | |
Gets and sets the end arrow width type of the line. The value of the property is MsoArrowheadWidth integer constant. | ||
int | getFillType() | |
void | setFillType(intvalue) | |
Gets and sets fill type The value of the property is FillType integer constant. | ||
com.aspose.cells.Color | getGradientColor1() | |
Returns the gradient color 1 for the the specified fill.
|
||
com.aspose.cells.Color | getGradientColor2() | |
Returns the gradient color 2 for the the specified fill.
|
||
int | getGradientColorType() | |
Returns the gradient color type for the specified fill.
The value of the property is GradientColorType integer constant. |
||
double | getGradientDegree() | |
Returns the gradient degree for the the specified fill.
Only applies for Excel 2007.
|
||
GradientFill | getGradientFill() | |
Gets |
||
int | getGradientStyle() | |
Returns the gradient style for the specified fill.
The value of the property is GradientStyleType integer constant. |
||
int | getGradientVariant() | |
Returns the gradient variant for the the specified fill.
Only applies for Excel 2007.
|
||
byte[] | getImageData() | |
void | setImageData(byte[]value) | |
Gets and sets the picture image data. | ||
int | getJoinType() | |
void | setJoinType(intvalue) | |
Specifies the line join type. The value of the property is LineJoinType integer constant. | ||
int | getPattern() | |
void | setPattern(intvalue) | |
Represents an area's display pattern. The value of the property is FillPattern integer constant. | ||
PatternFill | getPatternFill() | |
Gets |
||
int | getPictureFormatType() | |
void | setPictureFormatType(intvalue) | |
Gets and sets the picture format type. The value of the property is FillPictureType integer constant. | ||
int | getPresetColor() | |
Returns the gradient preset color for the the specified fill.
The value of the property is GradientPresetType integer constant. |
||
double | getScale() | |
void | setScale(doublevalue) | |
Gets and sets the picture format scale. | ||
int | getSetType() | |
void | setSetType(intvalue) | |
Gets the fill format set type. The value of the property is FormatSetType integer constant. | ||
SolidFill | getSolidFill() | |
Gets |
||
int | getTexture() | |
void | setTexture(intvalue) | |
Represents the texture type for the specified fill. The value of the property is TextureType integer constant. | ||
TextureFill | getTextureFill() | |
Gets |
||
double | getTransparency() | |
void | setTransparency(doublevalue) | |
Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). | ||
int | getType() | |
void | setType(intvalue) | |
Gets and sets the fill type. The value of the property is FillType integer constant. | ||
double | getWeight() | |
void | setWeight(doublevalue) | |
Gets or sets the weight of the line in unit of points. |
Method Summary | ||
---|---|---|
void | setOneColorGradient(com.aspose.cells.Color color, double degree, int style, int variant) | |
Sets the specified fill to a one-color gradient.
Only applies for Excel 2007.
|
||
void | setPresetColorGradient(int presetColor, int style, int variant) | |
Sets the specified fill to a preset-color gradient.
Only applies for Excel 2007.
|
||
void | setTwoColorGradient(com.aspose.cells.Color color1, com.aspose.cells.Color color2, int style, int variant) | |
Sets the specified fill to a two-color gradient.
Only applies for Excel 2007.
|
||
void | setTwoColorGradient(com.aspose.cells.Color color1, double transparency1, com.aspose.cells.Color color2, double transparency2, int style, int variant) | |
Sets the specified fill to a two-color gradient.
Only applies for Excel 2007.
|
public int getCompoundType() / public void setCompoundType(int value)
public int getDashStyle() / public void setDashStyle(int value)
public int getCapType() / public void setCapType(int value)
public int getJoinType() / public void setJoinType(int value)
public int getBeginArrowheadStyle() / public void setBeginArrowheadStyle(int value)
public int getBeginArrowheadWidth() / public void setBeginArrowheadWidth(int value)
public int getBeginArrowheadLength() / public void setBeginArrowheadLength(int value)
public int getEndArrowheadStyle() / public void setEndArrowheadStyle(int value)
public int getEndArrowheadWidth() / public void setEndArrowheadWidth(int value)
public int getEndArrowheadLength() / public void setEndArrowheadLength(int value)
public double getWeight() / public void setWeight(double value)
public int getType() / public void setType(int value)
public int getFillType() / public void setFillType(int value)
public double getTransparency() / public void setTransparency(double value)
public int getSetType() / public void setSetType(int value)
public GradientFill getGradientFill()
public TextureFill getTextureFill()
public PatternFill getPatternFill()
public int getGradientColorType()
public int getGradientStyle()
public com.aspose.cells.Color getGradientColor1()
public com.aspose.cells.Color getGradientColor2()
public double getGradientDegree()
public int getGradientVariant()
public int getPresetColor()
public int getTexture() / public void setTexture(int value)
public int getPattern() / public void setPattern(int value)
public int getPictureFormatType() / public void setPictureFormatType(int value)
public double getScale() / public void setScale(double value)
public byte[] getImageData() / public void setImageData(byte[] value)
public void setOneColorGradient(com.aspose.cells.Color color, double degree, int style, int variant)
color
- One gradient color.degree
- The gradient degree. Can be a value from 0.0 (dark) through 1.0 (light).style
- A variant
- The gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the Gradient tab in the Fill Effects dialog box. If style is GradientStyle.FromCenter, the Variant argument can only be 1 or 2.public void setTwoColorGradient(com.aspose.cells.Color color1, com.aspose.cells.Color color2, int style, int variant)
color1
- One gradient color.color2
- Two gradient color.style
- A variant
- The gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the Gradient tab in the Fill Effects dialog box. If style is GradientStyle.FromCenter, the Variant argument can only be 1 or 2.public void setTwoColorGradient(com.aspose.cells.Color color1, double transparency1, com.aspose.cells.Color color2, double transparency2, int style, int variant)
color1
- One gradient color.transparency1
- The degree of transparency of the color1 as a value from 0.0 (opaque) through 1.0 (clear).color2
- Two gradient color.transparency2
- The degree of transparency of the color2 as a value from 0.0 (opaque) through 1.0 (clear).style
- A variant
- The gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the Gradient tab in the Fill Effects dialog box. If style is GradientStyle.FromCenter, the Variant argument can only be 1 or 2.public void setPresetColorGradient(int presetColor, int style, int variant)
presetColor
- A style
- A variant
- The gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the Gradient tab in the Fill Effects dialog box. If style is GradientStyle.FromCenter, the Variant argument can only be 1 or 2.