Class Marker
java.lang.Object
com.independentsoft.office.odf.styles.Marker
Represents a marker, which is used to draw polygons at the start and end points of strokes. Markers are not available as automatic styles.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the name of the marker.getName()Gets the name by which a marker can be referenced.Gets the newline characters and thus can be broken up into multiple lines to improve readability.Gets the user coordinate system inside the physical coordinate system of the shape specified by the position and size attributes.voidsetDisplayName(String displayName)Sets the name of the marker.voidSets the name by which a marker can be referenced.voidsetPathData(String pathData)Sets the newline characters and thus can be broken up into multiple lines to improve readability.voidsetViewBox(String viewBox)Sets the user coordinate system inside the physical coordinate system of the shape specified by the position and size attributes.toString()Converts the value of the current Marker object to its equivalent string representation.
-
Constructor Details
-
Marker
public Marker()Initializes a new instance of the Marker class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current Marker object to its equivalent string representation. -
getName
Gets the name by which a marker can be referenced.- Returns:
- the name
-
setName
Sets the name by which a marker can be referenced.- Parameters:
name- the new name
-
getDisplayName
Gets the name of the marker.- Returns:
- the display name
-
setDisplayName
Sets the name of the marker.- Parameters:
displayName- the new display name
-
getViewBox
Gets the user coordinate system inside the physical coordinate system of the shape specified by the position and size attributes.- Returns:
- the view box
-
setViewBox
Sets the user coordinate system inside the physical coordinate system of the shape specified by the position and size attributes.- Parameters:
viewBox- the new view box
-
getPathData
Gets the newline characters and thus can be broken up into multiple lines to improve readability.- Returns:
- the path data
-
setPathData
Sets the newline characters and thus can be broken up into multiple lines to improve readability.- Parameters:
pathData- the new path data
-