Class Colors
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.color.Colors
-
public class Colors extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Colors(ThemeStyle themeStyle, java.lang.String data, HColorSet set, ColorType mainType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Colors
add(ColorType type, HColor color)
Colors
addLegacyStroke(java.lang.String s)
Colors
applyStereotype(Stereotype stereotype, ISkinParam skinParam, ColorParam param)
Colors
applyStereotypeForNote(Stereotype stereotype, ISkinParam skinParam, FontParam fontParam, ColorParam... params)
static UGraphic
applyStroke(UGraphic ug, Colors colors)
static Colors
empty()
HColor
getColor(ColorType key)
HColor
getColor(ColorType key1, ColorType key2)
LinkStyle
getLineStyle()
java.lang.Boolean
getShadowing()
UStroke
getSpecificLineStroke()
boolean
isEmpty()
ISkinParam
mute(ISkinParam skinParam)
UStroke
muteStroke(UStroke stroke)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Colors
public Colors(ThemeStyle themeStyle, java.lang.String data, HColorSet set, ColorType mainType) throws NoSuchColorException
- Throws:
NoSuchColorException
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
empty
public static Colors empty()
-
isEmpty
public boolean isEmpty()
-
getSpecificLineStroke
public UStroke getSpecificLineStroke()
-
getLineStyle
public final LinkStyle getLineStyle()
-
mute
public ISkinParam mute(ISkinParam skinParam)
-
addLegacyStroke
public Colors addLegacyStroke(java.lang.String s)
-
applyStereotype
public Colors applyStereotype(Stereotype stereotype, ISkinParam skinParam, ColorParam param) throws NoSuchColorException
- Throws:
NoSuchColorException
-
applyStereotypeForNote
public Colors applyStereotypeForNote(Stereotype stereotype, ISkinParam skinParam, FontParam fontParam, ColorParam... params) throws NoSuchColorException
- Throws:
NoSuchColorException
-
getShadowing
public java.lang.Boolean getShadowing()
-
-