Class TextDisplayBuilder
java.lang.Object
dev.sefiraat.sefilib.entity.display.builders.TextDisplayBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Colorprotected Display.Billboardprotected Display.Brightnessprotected booleanprotected floatprotected floatprotected Colorprotected Vectorprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected intprotected intprotected intprotected Locationprotected booleanprotected booleanprotected floatprotected floatprotected Stringprotected TextDisplay.TextAlignmentprotected byteprotected Transformationprotected float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyDisplay(Display display) build()build(DisplayGroup group) setBackgroundColor(Color backgroundColor) setBillboard(Display.Billboard billboard) setBrightness(Display.Brightness brightness) setDefaultBackground(boolean defaultBackground) setDisplayHeight(float displayHeight) setDisplayWidth(float displayWidth) setGlowColorOverride(Color glowColorOverride) setGroupParentOffset(Vector groupParentOffset) setInterpolationDelay(int interpolationDelay) setInterpolationDuration(int interpolationDuration) setLineWidth(int lineWidth) setLocation(Location location) setSeeThrough(boolean seeThrough) setShadowed(boolean shadowed) setShadowRadius(float shadowRadius) setShadowStrength(float shadowStrength) setTextAlignment(TextDisplay.TextAlignment textAlignment) setTextOpacity(byte textOpacity) setTransformation(Transformation transformation) setViewRange(float viewRange)
-
Field Details
-
text
-
lineWidth
protected int lineWidth -
hasLineWidth
protected boolean hasLineWidth -
backgroundColor
-
textOpacity
protected byte textOpacity -
hasTextOpacity
protected boolean hasTextOpacity -
shadowed
protected boolean shadowed -
hasShadowed
protected boolean hasShadowed -
seeThrough
protected boolean seeThrough -
hasSeeThrough
protected boolean hasSeeThrough -
defaultBackground
protected boolean defaultBackground -
hasDefaultBackground
protected boolean hasDefaultBackground -
textAlignment
-
transformation
-
interpolationDuration
protected int interpolationDuration -
hasInterpolationDuration
protected boolean hasInterpolationDuration -
interpolationDelay
protected int interpolationDelay -
hasInterpolationDelay
protected boolean hasInterpolationDelay -
viewRange
protected float viewRange -
hasViewRange
protected boolean hasViewRange -
shadowRadius
protected float shadowRadius -
hasShadowRadius
protected boolean hasShadowRadius -
shadowStrength
protected float shadowStrength -
hasShadowStrength
protected boolean hasShadowStrength -
displayWidth
protected float displayWidth -
hasDisplayWidth
protected boolean hasDisplayWidth -
displayHeight
protected float displayHeight -
hasDisplayHeight
protected boolean hasDisplayHeight -
billboard
-
glowColorOverride
-
brightness
-
location
-
groupParentOffset
-
-
Constructor Details
-
TextDisplayBuilder
public TextDisplayBuilder()
-
-
Method Details
-
setText
-
setLineWidth
-
setBackgroundColor
-
setTextOpacity
-
setShadowed
-
setSeeThrough
-
setDefaultBackground
-
setTextAlignment
-
build
-
build
-
setTransformation
-
setInterpolationDuration
-
setInterpolationDelay
-
setViewRange
-
setShadowRadius
-
setShadowStrength
-
setDisplayWidth
-
setDisplayHeight
-
setBillboard
-
setGlowColorOverride
-
setBrightness
-
setLocation
-
setGroupParentOffset
-
applyDisplay
-