Class Line
- java.lang.Object
-
- com.epicbot.api.shared.util.paint.frame.FramePart
-
- com.epicbot.api.shared.util.paint.frame.Line
-
public class Line extends FramePart
-
-
Constructor Summary
Constructors Constructor Description Line(PaintFrame frame, java.lang.String name, java.lang.Object value)
Line(PaintFrame frame, java.lang.String name, 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, double x, double y, Dimension2D frameSize, APIContext ctx)
java.lang.String
getName()
Dimension2D
getSize(java.awt.Graphics2D g2d, APIContext ctx)
java.lang.String
getValue(APIContext ctx)
-
-
-
Constructor Detail
-
Line
public Line(PaintFrame frame, java.lang.String name, java.lang.Object value)
-
Line
public Line(PaintFrame frame, java.lang.String name, java.util.function.Function<APIContext,java.lang.Object> value)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getValue
public java.lang.String getValue(APIContext ctx)
-
draw
public double draw(java.awt.Graphics2D g2d, double x, double y, Dimension2D frameSize, APIContext ctx)
-
getSize
public Dimension2D getSize(java.awt.Graphics2D g2d, APIContext ctx)
-
-