java.lang.ObjectFillFormat
com.aspose.cells.LineFormat
public class LineFormat
Property Getters/Setters Summary | ||
---|---|---|
int | getBeginArrowheadLength() | |
void | setBeginArrowheadLength(int value) | |
Gets and sets the begin arrow length type of the line. The value of the property is MsoArrowheadLength integer constant. | ||
int | getBeginArrowheadStyle() | |
void | setBeginArrowheadStyle(int value) | |
Gets and sets the begin arrow type of the line. The value of the property is MsoArrowheadStyle integer constant. | ||
int | getBeginArrowheadWidth() | |
void | setBeginArrowheadWidth(int value) | |
Gets and sets the begin arrow width type of the line. The value of the property is MsoArrowheadWidth integer constant. | ||
int | getCapType() | |
void | setCapType(int value) | |
Specifies the ending caps. The value of the property is LineCapType integer constant. | ||
int | getCompoundType() | |
void | setCompoundType(int value) | |
Specifies the line compound type. The value of the property is MsoLineStyle integer constant. | ||
int | getDashStyle() | |
void | setDashStyle(int value) | |
Specifies the line dash type. The value of the property is MsoLineDashStyle integer constant. | ||
int | getEndArrowheadLength() | |
void | setEndArrowheadLength(int value) | |
Gets and sets the end arrow length type of the line. The value of the property is MsoArrowheadLength integer constant. | ||
int | getEndArrowheadStyle() | |
void | setEndArrowheadStyle(int value) | |
Gets and sets the end arrow type of the line. The value of the property is MsoArrowheadStyle integer constant. | ||
int | getEndArrowheadWidth() | |
void | setEndArrowheadWidth(int value) | |
Gets and sets the end arrow width type of the line. The value of the property is MsoArrowheadWidth integer constant. | ||
int | getFillType() | → inherited from FillFormat |
void | setFillType(int value) | |
Gets and sets fill type The value of the property is FillType integer constant. | ||
Color | getGradientColor1() | → inherited from FillFormat |
Returns the gradient color 1 for the the specified fill. | ||
Color | getGradientColor2() | → inherited from FillFormat |
Returns the gradient color 2 for the the specified fill. | ||
int | getGradientColorType() | → inherited from FillFormat |
Returns the gradient color type for the specified fill. The value of the property is GradientColorType integer constant. | ||
double | getGradientDegree() | → inherited from FillFormat |
Returns the gradient degree for the the specified fill. | ||
GradientFill | getGradientFill() | → inherited from FillFormat |
Gets |
||
int | getGradientStyle() | → inherited from FillFormat |
Returns the gradient style for the specified fill. The value of the property is GradientStyleType integer constant. | ||
int | getGradientVariant() | → inherited from FillFormat |
Returns the gradient variant for the the specified fill. | ||
byte[] | getImageData() | → inherited from FillFormat |
void | setImageData(byte[] value) | |
Gets and sets the picture image data. | ||
int | getJoinType() | |
void | setJoinType(int value) | |
Specifies the line join type. The value of the property is LineJoinType integer constant. | ||
int | getPattern() | → inherited from FillFormat |
void | setPattern(int value) | |
Represents an area's display pattern. The value of the property is FillPattern integer constant. | ||
PatternFill | getPatternFill() | → inherited from FillFormat |
Gets |
||
int | getPictureFormatType() | → inherited from FillFormat |
void | setPictureFormatType(int value) | |
Gets and sets the picture format type. The value of the property is FillPictureType integer constant. | ||
int | getPresetColor() | → inherited from FillFormat |
Returns the gradient preset color for the the specified fill. The value of the property is GradientPresetType integer constant. | ||
double | getScale() | → inherited from FillFormat |
void | setScale(double value) | |
Gets and sets the picture format scale. | ||
int | getSetType() | → inherited from FillFormat |
void | setSetType(int value) | |
Gets the fill format set type. The value of the property is FormatSetType integer constant. | ||
SolidFill | getSolidFill() | → inherited from FillFormat |
Gets |
||
int | getTexture() | → inherited from FillFormat |
void | setTexture(int value) | |
Represents the texture type for the specified fill. The value of the property is TextureType integer constant. | ||
TextureFill | getTextureFill() | → inherited from FillFormat |
Gets |
||
double | getTransparency() | → inherited from FillFormat |
void | setTransparency(double value) | |
Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). | ||
int | getType() | → inherited from FillFormat |
void | setType(int value) | |
Gets and sets the fill type. The value of the property is FillType integer constant. | ||
double | getWeight() | |
void | setWeight(double value) | |
Gets or sets the weight of the line in unit of points. |
Method Summary | ||
---|---|---|
void | setOneColorGradient(Color color, double degree, int style, int variant) | → inherited from FillFormat |
Sets the specified fill to a one-color gradient. | ||
void | setPresetColorGradient(int presetColor, int style, int variant) | → inherited from FillFormat |
Sets the specified fill to a preset-color gradient. | ||
void | setTwoColorGradient(Color color1, Color color2, int style, int variant) | → inherited from FillFormat |
Sets the specified fill to a two-color gradient. | ||
void | setTwoColorGradient(Color color1, double transparency1, Color color2, double transparency2, int style, int variant) | → inherited from FillFormat |
Sets the specified fill to a two-color gradient. |
Property Getters/Setters Detail |
---|
getCompoundType/setCompoundType | |
public int getCompoundType() / public void setCompoundType(int value) |
getDashStyle/setDashStyle | |
public int getDashStyle() / public void setDashStyle(int value) |
getCapType/setCapType | |
public int getCapType() / public void setCapType(int value) |
getJoinType/setJoinType | |
public int getJoinType() / public void setJoinType(int value) |
getBeginArrowheadStyle/setBeginArrowheadStyle | |
public int getBeginArrowheadStyle() / public void setBeginArrowheadStyle(int value) |
getBeginArrowheadWidth/setBeginArrowheadWidth | |
public int getBeginArrowheadWidth() / public void setBeginArrowheadWidth(int value) |
getBeginArrowheadLength/setBeginArrowheadLength | |
public int getBeginArrowheadLength() / public void setBeginArrowheadLength(int value) |
getEndArrowheadStyle/setEndArrowheadStyle | |
public int getEndArrowheadStyle() / public void setEndArrowheadStyle(int value) |
getEndArrowheadWidth/setEndArrowheadWidth | |
public int getEndArrowheadWidth() / public void setEndArrowheadWidth(int value) |
getEndArrowheadLength/setEndArrowheadLength | |
public int getEndArrowheadLength() / public void setEndArrowheadLength(int value) |
getWeight/setWeight | |
public double getWeight() / public void setWeight(double value) |
getType/setType | → inherited from FillFormat |
public int getType() / public void setType(int value) |
getFillType/setFillType | → inherited from FillFormat |
public int getFillType() / public void setFillType(int value) |
getTransparency/setTransparency | → inherited from FillFormat |
public double getTransparency() / public void setTransparency(double value) |
getSetType/setSetType | → inherited from FillFormat |
public int getSetType() / public void setSetType(int value) |
getGradientFill | → inherited from FillFormat |
public GradientFill getGradientFill() |
getTextureFill | → inherited from FillFormat |
public TextureFill getTextureFill() |
getSolidFill | → inherited from FillFormat |
public SolidFill getSolidFill() |
getPatternFill | → inherited from FillFormat |
public PatternFill getPatternFill() |
getGradientColorType | → inherited from FillFormat |
public int getGradientColorType() |
getGradientStyle | → inherited from FillFormat |
public int getGradientStyle() |
getGradientColor1 | → inherited from FillFormat |
public Color getGradientColor1() |
getGradientColor2 | → inherited from FillFormat |
public Color getGradientColor2() |
getGradientDegree | → inherited from FillFormat |
public double getGradientDegree() |
getGradientVariant | → inherited from FillFormat |
public int getGradientVariant() |
getPresetColor | → inherited from FillFormat |
public int getPresetColor() |
getTexture/setTexture | → inherited from FillFormat |
public int getTexture() / public void setTexture(int value) |
getPattern/setPattern | → inherited from FillFormat |
public int getPattern() / public void setPattern(int value) |
getPictureFormatType/setPictureFormatType | → inherited from FillFormat |
public int getPictureFormatType() / public void setPictureFormatType(int value) |
getScale/setScale | → inherited from FillFormat |
public double getScale() / public void setScale(double value) |
getImageData/setImageData | → inherited from FillFormat |
public byte[] getImageData() / public void setImageData(byte[] value) |
Method Detail |
---|
setOneColorGradient | → inherited from FillFormat |
public void setOneColorGradient(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.setTwoColorGradient | → inherited from FillFormat |
public void setTwoColorGradient(Color color1, 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.setTwoColorGradient | → inherited from FillFormat |
public void setTwoColorGradient(Color color1, double transparency1, 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.setPresetColorGradient | → inherited from FillFormat |
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.