BuilderSyntax<DebugText>
, DebugTextBuilder
, DebugTextSyntax
, TextPositionSyntax
, WithSizeSyntax
, WithTextColorSyntax
public static final class DebugText.Builder extends java.lang.Object implements DebugTextSyntax, WithSizeSyntax, WithTextColorSyntax, TextPositionSyntax
Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
DebugText |
build() |
|
WithTextColorSyntax |
of(java.lang.String text) |
|
DebugTextBuilder |
on(Point point2d) |
|
DebugTextBuilder |
onMap(Point point3d) |
|
WithSizeSyntax |
withColor(Color color) |
|
TextPositionSyntax |
withSize(int size) |
public WithTextColorSyntax of(java.lang.String text)
of
in interface DebugTextSyntax
public WithSizeSyntax withColor(Color color)
withColor
in interface WithTextColorSyntax
public TextPositionSyntax withSize(int size)
withSize
in interface WithSizeSyntax
public DebugTextBuilder on(Point point2d)
on
in interface TextPositionSyntax
public DebugTextBuilder onMap(Point point3d)
onMap
in interface TextPositionSyntax
public DebugText build()
build
in interface BuilderSyntax<DebugText>
Copyright © 2017–2018 Ocraft Project. All rights reserved.