java.lang.Objectcom.aspose.words.Stroke
public class Stroke
Use the
Property Getters/Setters Summary | ||
---|---|---|
java.awt.Color | getColor() | |
void | setColor(java.awt.Color value) | |
Defines the color of a stroke. | ||
java.awt.Color | getColor2() | |
void | setColor2(java.awt.Color value) | |
Defines a second color for a stroke. | ||
int | getDashStyle() | |
void | setDashStyle(int value) | |
Specifies the dot and dash pattern for a stroke. The value of the property is DashStyle integer constant. | ||
int | getEndArrowLength() | |
void | setEndArrowLength(int value) | |
Defines the arrowhead length for the end of a stroke. The value of the property is ArrowLength integer constant. | ||
int | getEndArrowType() | |
void | setEndArrowType(int value) | |
Defines the arrowhead for the end of a stroke. The value of the property is ArrowType integer constant. | ||
int | getEndArrowWidth() | |
void | setEndArrowWidth(int value) | |
Defines the arrowhead width for the end of a stroke. The value of the property is ArrowWidth integer constant. | ||
int | getEndCap() | |
void | setEndCap(int value) | |
Defines the cap style for the end of a stroke. The value of the property is EndCap integer constant. | ||
byte[] | getImageBytes() | |
Defines the image for a stroke image or pattern fill. | ||
int | getJoinStyle() | |
void | setJoinStyle(int value) | |
Defines the join style of a polyline. The value of the property is JoinStyle integer constant. | ||
int | getLineStyle() | |
void | setLineStyle(int value) | |
Defines the line style of the stroke. The value of the property is ShapeLineStyle integer constant. | ||
boolean | getOn() | |
void | setOn(boolean value) | |
Defines whether the path will be stroked. | ||
double | getOpacity() | |
void | setOpacity(double value) | |
Defines the amount of transparency of a stroke. Valid range is from 0 to 1. | ||
int | getStartArrowLength() | |
void | setStartArrowLength(int value) | |
Defines the arrowhead length for the start of a stroke. The value of the property is ArrowLength integer constant. | ||
int | getStartArrowType() | |
void | setStartArrowType(int value) | |
Defines the arrowhead for the start of a stroke. The value of the property is ArrowType integer constant. | ||
int | getStartArrowWidth() | |
void | setStartArrowWidth(int value) | |
Defines the arrowhead width for the start of a stroke. The value of the property is ArrowWidth integer constant. | ||
double | getWeight() | |
void | setWeight(double value) | |
Defines the brush thickness that strokes the path of a shape in points. |
Property Getters/Setters Detail |
---|
getColor/setColor | |
public java.awt.Color getColor() / public void setColor(java.awt.Color value) |
The default value is
getColor2/setColor2 | |
public java.awt.Color getColor2() / public void setColor2(java.awt.Color value) |
The default value is
getDashStyle/setDashStyle | |
public int getDashStyle() / public void setDashStyle(int value) |
The default value is
getEndArrowLength/setEndArrowLength | |
public int getEndArrowLength() / public void setEndArrowLength(int value) |
The default value is
getEndArrowType/setEndArrowType | |
public int getEndArrowType() / public void setEndArrowType(int value) |
The default value is
getEndArrowWidth/setEndArrowWidth | |
public int getEndArrowWidth() / public void setEndArrowWidth(int value) |
The default value is
getEndCap/setEndCap | |
public int getEndCap() / public void setEndCap(int value) |
The default value is
getImageBytes | |
public byte[] getImageBytes() |
getJoinStyle/setJoinStyle | |
public int getJoinStyle() / public void setJoinStyle(int value) |
The default value is
getLineStyle/setLineStyle | |
public int getLineStyle() / public void setLineStyle(int value) |
The default value is
getOn/setOn | |
public boolean getOn() / public void setOn(boolean value) |
The default value is true.
getOpacity/setOpacity | |
public double getOpacity() / public void setOpacity(double value) |
The default value is 1.
getStartArrowLength/setStartArrowLength | |
public int getStartArrowLength() / public void setStartArrowLength(int value) |
The default value is
getStartArrowType/setStartArrowType | |
public int getStartArrowType() / public void setStartArrowType(int value) |
The default value is
getStartArrowWidth/setStartArrowWidth | |
public int getStartArrowWidth() / public void setStartArrowWidth(int value) |
The default value is
getWeight/setWeight | |
public double getWeight() / public void setWeight(double value) |
The default value is 0.75.