new LabelTheme()
Creates a LabelTheme.
Extends
Members
-
<package> dropDownLabelTheme :olympe.ui.std.theme.LabelTheme
-
Type:
Methods
-
getBackgroundColor()
-
- Inherited From:
- Overrides:
Returns:
-
getBackgroundImagePosition()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.PVector2
-
getBackgroundImageSize()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.PVector2
-
getBackgroundImageUrl()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.POString
-
getBorderColor()
-
- Inherited From:
- Overrides:
Returns:
-
getBorderWidth()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.PONumber
-
getCornerRadius()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.PONumber
-
getDimension()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.PONumber
-
getFontFamily()
-
Returns:
- Type
- olympe.df.POString
-
getFontSize()
-
Returns:
- Type
- olympe.df.PONumber
-
getFontStyle()
-
Returns:
-
getFontWeight()
-
Returns:
- Type
- olympe.df.PONumber
-
getOpacity()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.PONumber
-
getPaddingBottom()
-
Returns:
- Type
- olympe.df.PONumber
-
getPaddingLeft()
-
Returns:
- Type
- olympe.df.PONumber
-
getPaddingRight()
-
Returns:
- Type
- olympe.df.PONumber
-
getPaddingTop()
-
Returns:
- Type
- olympe.df.PONumber
-
getShadowColor()
-
- Inherited From:
- Overrides:
Returns:
-
getShadowInset()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.POBoolean
-
getShadowOffset()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.PVector2
-
getShadowRadius()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.PONumber
-
getShadowSpread()
-
- Inherited From:
- Overrides:
Returns:
- Type
- olympe.df.PONumber
-
getTextColor()
-
Returns:
-
getTextHorizontalAlign()
-
Returns:
-
getTextVerticalAlign()
-
Returns:
-
setBackgroundColor(color)
-
Parameters:
Name Type Description color
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color> - Inherited From:
- Overrides:
-
setBackgroundImagePosition(imagePosition)
-
Parameters:
Name Type Description imagePosition
olympe.df.PVector2 -
setBackgroundImageSize(imageSize)
-
Parameters:
Name Type Description imageSize
olympe.df.PVector2 -
setBackgroundImageUrl(url)
-
Parameters:
Name Type Description url
olympe.df.POString -
setBorderColor(borderColor)
-
Parameters:
Name Type Description borderColor
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color> - Inherited From:
- Overrides:
-
setBorderWidth(borderWidth)
-
Parameters:
Name Type Description borderWidth
olympe.df.PONumber | number - Inherited From:
- Overrides:
-
setCornerRadius(cornerRadius)
-
Parameters:
Name Type Description cornerRadius
olympe.df.PONumber | number - Inherited From:
- Overrides:
-
setDimension(dimension)
-
Parameters:
Name Type Description dimension
olympe.df.PVector2 - Inherited From:
- Overrides:
-
setDimensionHeight(height)
-
Parameters:
Name Type Description height
olympe.df.PONumber | number -
setDimensionWidth(width)
-
Parameters:
Name Type Description width
olympe.df.PONumber | number -
setFontFamily(fontFamily)
-
Parameters:
Name Type Description fontFamily
olympe.df.POString | string -
setFontSize(size)
-
Parameters:
Name Type Description size
olympe.df.PONumber | number -
setFontStyle(fontStyle)
-
Parameters:
Name Type Description fontStyle
olympe.df.Proxy.<olympe.ui.common.FontStyle> | olympe.ui.common.FontStyle -
setFontWeight(fontWeight)
-
Parameters:
Name Type Description fontWeight
olympe.df.PONumber | number -
setOpacity(opacity)
-
Parameters:
Name Type Description opacity
olympe.df.PONumber | number - Inherited From:
- Overrides:
-
setPaddingBottom(paddingBottom)
-
Parameters:
Name Type Description paddingBottom
olympe.df.PONumber | number -
setPaddingLeft(paddingLeft)
-
Parameters:
Name Type Description paddingLeft
olympe.df.PONumber | number -
setPaddingRight(paddingRight)
-
Parameters:
Name Type Description paddingRight
olympe.df.PONumber | number -
setPaddingTop(paddingTop)
-
Parameters:
Name Type Description paddingTop
olympe.df.PONumber | number -
setShadow(offset, radius [, spread] [, color] [, inset])
-
Parameters:
Name Type Argument Default Description offset
olympe.df.PVector2 Offset in px
radius
olympe.df.PONumber | number Blur radius in px
spread
olympe.df.PONumber | number <optional>
0 Spread radius in px
color
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color> <optional>
'#000000' inset
olympe.df.POBoolean | boolean <optional>
false rue if internal shadow
- Inherited From:
- Overrides:
-
setShadowColor(color)
-
Parameters:
Name Type Description color
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color> - Inherited From:
- Overrides:
-
setShadowInset(inset)
-
Parameters:
Name Type Description inset
olympe.df.POBoolean | boolean - Inherited From:
- Overrides:
-
setShadowOffsetX(offsetX)
-
Parameters:
Name Type Description offsetX
olympe.df.PONumber | number -
setShadowOffsetY(offsetY)
-
Parameters:
Name Type Description offsetY
olympe.df.PONumber | number -
setShadowRadius(radius)
-
Parameters:
Name Type Description radius
olympe.df.PONumber | number - Inherited From:
- Overrides:
-
setShadowSpread(spread)
-
Parameters:
Name Type Description spread
olympe.df.PONumber | number - Inherited From:
- Overrides:
-
setTextColor(color)
-
Parameters:
Name Type Description color
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color> -
setTextHorizontalAlign(textHorizontalAlign)
-
Parameters:
Name Type Description textHorizontalAlign
olympe.df.Proxy.<olympe.ui.common.HorizontalAlign> | olympe.ui.common.HorizontalAlign -
setTextVerticalAlign(textVerticalAlign)
-
Parameters:
Name Type Description textVerticalAlign
olympe.df.Proxy.<olympe.ui.common.VerticalAlign> | olympe.ui.common.VerticalAlign