Class OutlineStyle
java.lang.Object
dev.boze.api.gui.render.OutlineStyle
How the outline drawn around
GuiPainter.outlineMask() looks. Start one with
builder(GuiPaint).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumHow precisely wide outlines and glows are worked out. -
Method Summary
-
Method Details
-
builder
- Parameters:
color- Outline color; gradient client colors flow along the outline- Returns:
- A builder for a 1 pixel outline with no glow or bloom
-
color
-
width
public double width()- Returns:
- Width in GUI-scaled pixels
-
glow
public float glow() -
bloomPasses
public int bloomPasses() -
bloomSpread
public float bloomSpread() -
bloomAdditive
public boolean bloomAdditive() -
quality
-
alpha
public float alpha()
-