Class LineGroup.Line
- java.lang.Object
-
- com.epicbot.api.shared.util.paint.LineGroup.Line
-
- Enclosing class:
- LineGroup
public static class LineGroup.Line extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Line(java.lang.String text, java.lang.Object value)
Line(java.lang.String text, java.util.function.Function<APIContext,java.lang.Object> value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
draw(java.awt.Graphics2D g2d, int x, int y, APIContext ctx)
java.lang.String
getText()
java.lang.String
getValue(APIContext ctx)
void
setAlignment(LineGroup.LineAlignment alignment)
-
-
-
Constructor Detail
-
Line
public Line(java.lang.String text, java.lang.Object value)
-
Line
public Line(java.lang.String text, java.util.function.Function<APIContext,java.lang.Object> value)
-
-
Method Detail
-
setAlignment
public void setAlignment(LineGroup.LineAlignment alignment)
-
draw
public double draw(java.awt.Graphics2D g2d, int x, int y, APIContext ctx)
-
getText
public java.lang.String getText()
-
getValue
public java.lang.String getValue(APIContext ctx)
-
-