public interface ILineFormat
| Modifier and Type | Method and Description |
|---|---|
ArrowheadLength |
getBeginArrowheadLength()
Gets the length of the arrowhead at the beginning of the specified line.
|
ArrowheadStyle |
getBeginArrowheadStyle()
Gets the style of the arrowhead at the beginning of the specified line.
|
ArrowheadWidth |
getBeginArrowheadWidth()
Gets the width of the arrowhead at the beginning of the specified line.
|
LineCapStyle |
getCapStyle()
Gets the cap style for the end of the line.
|
IColorFormat |
getColor()
Returns the
IColorFormat object that represents the specified solid
color. |
LineDashStyle |
getDashStyle()
Gets the dash style for the specified line.
|
ArrowheadLength |
getEndArrowheadLength()
Gets the length of the arrowhead at the end of the specified line.
|
ArrowheadStyle |
getEndArrowheadStyle()
Gets the style of the arrowhead at the end of the specified line.
|
ArrowheadWidth |
getEndArrowheadWidth()
Gets the width of the arrowhead at the end of the specified line.
|
double |
getGradientAngle()
Gets the angle of the gradient line for the specified line format.
|
double |
getGradientDegree()
Returns the gradient degree of the specified one-color shaded line as a
floating-point value from 0.0 (dark) through 1.0 (light).
|
IGradientStops |
getGradientStops()
Returns the end point for the gradient line.
|
GradientStyle |
getGradientStyle()
Returns the gradient style for the specified line.
|
int |
getGradientVariant()
Returns the shade variant for the specified fill as an integer value from 1
through 4.
|
boolean |
getInsetPen()
Gets whether lines are drawn inside the specified shape's boundaries.
|
LineJoinStyle |
getJoinStyle()
Gets the corners style of two intersecting lines.
|
PatternType |
getPattern()
Gets the line pattern.
|
IColorFormat |
getPatternColor()
Returns the
IColorFormat object that represents the specified color
of patterns. |
LineStyle |
getStyle()
Gets the
LineStyle object that represents the ILineFormat
style. |
double |
getTransparency()
Gets the degree of transparency of the specified line as a value from 0.0
(opaque) through 1.0 (clear).
|
FillType |
getType()
Returns the fill type of the line.
|
boolean |
getVisible()
Gets whether the object is visible.
|
double |
getWeight()
Gets the weight of the line.
|
void |
oneColorGradient(GradientStyle style,
int variant,
double degree)
Sets the specified line to a one-color gradient.
|
void |
patterned(PatternType pattern)
Sets the specified line to a pattern color.
|
void |
presetGradient(GradientStyle style,
int variant,
PresetGradientType presetGradientType)
Sets the specified line to a preset gradient.
|
void |
setBeginArrowheadLength(ArrowheadLength value)
Sets the length of the arrowhead at the beginning of the specified line.
|
void |
setBeginArrowheadStyle(ArrowheadStyle value)
Sets the style of the arrowhead at the beginning of the specified line.
|
void |
setBeginArrowheadWidth(ArrowheadWidth value)
Sets the width of the arrowhead at the beginning of the specified line.
|
void |
setCapStyle(LineCapStyle value)
Sets the cap style for the end of the line.
|
void |
setDashStyle(LineDashStyle value)
Sets the dash style for the specified line.
|
void |
setEndArrowheadLength(ArrowheadLength value)
Sets the length of the arrowhead at the end of the specified line.
|
void |
setEndArrowheadStyle(ArrowheadStyle value)
Sets the style of the arrowhead at the end of the specified line.
|
void |
setEndArrowheadWidth(ArrowheadWidth value)
Sets the width of the arrowhead at the end of the specified line.
|
void |
setGradientAngle(double value)
Sets the angle of the gradient line for the specified line format.
|
void |
setInsetPen(boolean value)
Sets whether lines are drawn inside the specified shape's boundaries.
|
void |
setJoinStyle(LineJoinStyle value)
Sets the corners style of two intersecting lines.
|
void |
setStyle(LineStyle value)
Sets the
LineStyle object that represents the ILineFormat
style. |
void |
setTransparency(double value)
Sets the degree of transparency of the specified line as a value from 0.0
(opaque) through 1.0 (clear).
|
void |
setVisible(boolean value)
Sets whether the object is visible.
|
void |
setWeight(double value)
Sets the weight of the line.
|
void |
solid()
Sets the specified line to a uniform color.
|
void |
twoColorGradient(GradientStyle style,
int variant)
Sets the specified line to a two-color gradient.
|
IColorFormat getPatternColor()
IColorFormat object that represents the specified color
of patterns.IColorFormat getColor()
IColorFormat object that represents the specified solid
color.FillType getType()
ArrowheadLength getBeginArrowheadLength()
void setBeginArrowheadLength(ArrowheadLength value)
ArrowheadStyle getBeginArrowheadStyle()
void setBeginArrowheadStyle(ArrowheadStyle value)
ArrowheadWidth getBeginArrowheadWidth()
void setBeginArrowheadWidth(ArrowheadWidth value)
LineDashStyle getDashStyle()
LineDashStyle constants.void setDashStyle(LineDashStyle value)
LineDashStyle constants.LineCapStyle getCapStyle()
LineCapStyle constants.void setCapStyle(LineCapStyle value)
LineCapStyle constants.LineJoinStyle getJoinStyle()
LineJoinStyle constants.void setJoinStyle(LineJoinStyle value)
LineJoinStyle constants.ArrowheadLength getEndArrowheadLength()
void setEndArrowheadLength(ArrowheadLength value)
ArrowheadStyle getEndArrowheadStyle()
void setEndArrowheadStyle(ArrowheadStyle value)
ArrowheadWidth getEndArrowheadWidth()
void setEndArrowheadWidth(ArrowheadWidth value)
boolean getInsetPen()
void setInsetPen(boolean value)
PatternType getPattern()
LineStyle getStyle()
LineStyle object that represents the ILineFormat
style.void setStyle(LineStyle value)
LineStyle object that represents the ILineFormat
style.double getTransparency()
void setTransparency(double value)
boolean getVisible()
void setVisible(boolean value)
double getGradientAngle()
void setGradientAngle(double value)
double getGradientDegree()
IGradientStops getGradientStops()
GradientStyle getGradientStyle()
int getGradientVariant()
double getWeight()
void setWeight(double value)
void oneColorGradient(GradientStyle style, int variant, double degree)
style - Required GradientStyle. Can be one of the following
GradientStyle constants:GradientDiagonalDown, GradientDiagonalUp,
GradientFromCenter, GradientFromCorner, GradientFromTitle,
GradientHorizontal, or GradientVertical.variant - Required Integer. The gradient variant. Can be a value from 1
through 4, corresponding to one of the four variants on the
Gradient tab in the line Effects dialog box. If GradientStyle is
GradientFromCenter, the Variant argument can only be 1 or 2.degree - Required Single. The gradient degree. Can be a value from 0.0
(dark) through 1.0 (light).void twoColorGradient(GradientStyle style, int variant)
style - Required GradientStyle. Can be one of the following
GradientStyle constants: GradientDiagonalDown, GradientDiagonalUp,
GradientFromCenter, GradientFromCorner, GradientFromTitle,
GradientHorizontal, or GradientVertical.variant - Required Integer. The gradient variant. Can be a value from 1
through 4, corresponding to one of the four variants on the
Gradient tab in the line Effects dialog box. If GradientStyle is
GradientFromCenter, the Variant argument can only be 1 or 2.void presetGradient(GradientStyle style, int variant, PresetGradientType presetGradientType)
style - Required GradientStyle.Can be one of the following
GradientStyle constants: GradientDiagonalDown, GradientDiagonalUp,
GradientFromCenter, GradientFromCorner, GradientFromTitle,
GradientHorizontal, or GradientVertical.variant - Required Integer. The gradient variant. Can be a value from 1
through 4, corresponding to one of the four variants on the
Gradient tab in the line Effects dialog box. If GradientStyle is
GradientFromCenter, the Variant argument can only be 1 or 2.presetGradientType - Required PresetGradientType.void solid()
void patterned(PatternType pattern)
pattern - Required PatternType.