Package com.structurizr.view
Class RelationshipStyle
java.lang.Object
com.structurizr.view.RelationshipStyle
public final class RelationshipStyle
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description RelationshipStyle(java.lang.String tag, java.lang.Integer thickness, java.lang.String color, java.lang.Boolean dashed, Routing routing, java.lang.Integer fontSize, java.lang.Integer width, java.lang.Integer position)
-
Method Summary
Modifier and Type Method Description RelationshipStyle
color(java.lang.String color)
RelationshipStyle
dashed(boolean dashed)
RelationshipStyle
fontSize(int fontSize)
java.lang.String
getColor()
java.lang.Boolean
getDashed()
java.lang.Integer
getFontSize()
java.lang.Integer
getOpacity()
Gets the opacity used when rendering the relationship.java.lang.Integer
getPosition()
Routing
getRouting()
java.lang.String
getTag()
java.lang.Integer
getThickness()
java.lang.Integer
getWidth()
RelationshipStyle
opacity(int opacity)
RelationshipStyle
position(int position)
RelationshipStyle
routing(Routing routing)
void
setColor(java.lang.String color)
void
setDashed(java.lang.Boolean dashed)
void
setFontSize(java.lang.Integer fontSize)
void
setOpacity(java.lang.Integer opacity)
void
setPosition(java.lang.Integer position)
void
setRouting(Routing routing)
void
setTag(java.lang.String tag)
void
setThickness(java.lang.Integer thickness)
void
setWidth(java.lang.Integer width)
RelationshipStyle
thickness(int thickness)
RelationshipStyle
width(int width)
-
Constructor Details
-
RelationshipStyle
public RelationshipStyle(java.lang.String tag, java.lang.Integer thickness, java.lang.String color, java.lang.Boolean dashed, Routing routing, java.lang.Integer fontSize, java.lang.Integer width, java.lang.Integer position)
-
-
Method Details
-
getTag
public java.lang.String getTag() -
setTag
public void setTag(java.lang.String tag) -
getThickness
public java.lang.Integer getThickness() -
setThickness
public void setThickness(java.lang.Integer thickness) -
thickness
-
getColor
public java.lang.String getColor() -
setColor
public void setColor(java.lang.String color) -
color
-
getDashed
public java.lang.Boolean getDashed() -
setDashed
public void setDashed(java.lang.Boolean dashed) -
dashed
-
getRouting
-
setRouting
-
routing
-
getFontSize
public java.lang.Integer getFontSize() -
setFontSize
public void setFontSize(java.lang.Integer fontSize) -
fontSize
-
getWidth
public java.lang.Integer getWidth() -
setWidth
public void setWidth(java.lang.Integer width) -
width
-
getPosition
public java.lang.Integer getPosition() -
setPosition
public void setPosition(java.lang.Integer position) -
position
-
getOpacity
public java.lang.Integer getOpacity()Gets the opacity used when rendering the relationship.- Returns:
- the opacity, as an integer between 0 and 100.
-
setOpacity
public void setOpacity(java.lang.Integer opacity) -
opacity
-