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 RelationshipStylecolor(java.lang.String color)RelationshipStyledashed(boolean dashed)RelationshipStylefontSize(int fontSize)java.lang.StringgetColor()java.lang.BooleangetDashed()java.lang.IntegergetFontSize()java.lang.IntegergetOpacity()Gets the opacity used when rendering the relationship.java.lang.IntegergetPosition()RoutinggetRouting()java.lang.StringgetTag()java.lang.IntegergetThickness()java.lang.IntegergetWidth()RelationshipStyleopacity(int opacity)RelationshipStyleposition(int position)RelationshipStylerouting(Routing routing)voidsetColor(java.lang.String color)voidsetDashed(java.lang.Boolean dashed)voidsetFontSize(java.lang.Integer fontSize)voidsetOpacity(java.lang.Integer opacity)voidsetPosition(java.lang.Integer position)voidsetRouting(Routing routing)voidsetTag(java.lang.String tag)voidsetThickness(java.lang.Integer thickness)voidsetWidth(java.lang.Integer width)RelationshipStylethickness(int thickness)RelationshipStylewidth(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
-