# LabelAppearance

class `cee.mrk.``LabelAppearance`()

  Appearance settings for text labels

Accessors

- `backgroundColor`
- `backgroundVisible`
- `borderColor`
- `borderVisible`
- `borderWidth`
- `cornerRadius`
- `fontFamily`
- `fontSize`
- `fontStyle`
- `fontVariant`
- `fontWeight`
- `opacity`
- `textColor`

Methods

- `getAsProperties`
- `setFromProperties`

## Accessors

`LabelAppearance.``backgroundColor`()

  Color of the filled background

  Return type: | Color3Like

`LabelAppearance.``backgroundColor`(clr)

  Arguments: | clr (`Color3Like`) – None
  Return type: | void

`LabelAppearance.``backgroundVisible`()

  Flag that determines if the filled background of the labels should be drawn or not.

  Return type: | boolean

`LabelAppearance.``backgroundVisible`(visible)

  Arguments: | visible (`boolean`) – None
  Return type: | void

`LabelAppearance.``borderColor`()

  Color of the label border

  Return type: | Color3Like

`LabelAppearance.``borderColor`(clr)

  Arguments: | clr (`Color3Like`) – None
  Return type: | void

`LabelAppearance.``borderVisible`()

  Flag that determines if border around the labels should be drawn or not.

  Return type: | boolean

`LabelAppearance.``borderVisible`(visible)

  Arguments: | visible (`boolean`) – None
  Return type: | void

`LabelAppearance.``borderWidth`()

  Width of the label border in pixels

  Return type: | number

`LabelAppearance.``borderWidth`(width)

  Arguments: | width (`number`) – None
  Return type: | void

`LabelAppearance.``cornerRadius`()

  Radius, in pixels, of rounded corners.

  Setting a value of 0 disables rounded corners. Default 0

  Return type: | number

`LabelAppearance.``cornerRadius`(radiusInPixels)

  Arguments: | radiusInPixels (`number`) – None
  Return type: | void

`LabelAppearance.``fontFamily`()

  Font family

  Corresponds to the CSS font-family property

  Return type: | string

`LabelAppearance.``fontFamily`(family)

  Arguments: | family (`string`) – None
  Return type: | void

`LabelAppearance.``fontSize`()

  Font size in pixels

  Return type: | number

`LabelAppearance.``fontSize`(sizeInPixels)

  Arguments: | sizeInPixels (`number`) – None
  Return type: | void

`LabelAppearance.``fontStyle`()

  Corresponds to the CSS font-style property

  Return type: | unknown | unknown | unknown

`LabelAppearance.``fontStyle`(style)

  Arguments: | style (`unknown | unknown | unknown`) – None
  Return type: | void

`LabelAppearance.``fontVariant`()

  Corresponds to the CSS font-variant property

  Return type: | unknown | unknown

`LabelAppearance.``fontVariant`(variant)

  Arguments: | variant (`unknown | unknown`) – None
  Return type: | void

`LabelAppearance.``fontWeight`()

  Corresponds to the CSS font-weight property

  Return type: | unknown | unknown | unknown | unknown

`LabelAppearance.``fontWeight`(weight)

  Arguments: | weight (`unknown | unknown | unknown | unknown`) – None
  Return type: | void

`LabelAppearance.``opacity`()

  The opacity of the label.

  Setting the opacity will influence the label background and the border, but will not affect the actual label text. Opacity 1.0 is fully opaque, 0.0 if fully transparent (invisible).

  Return type: | number

`LabelAppearance.``opacity`(opacity)

  Arguments: | opacity (`number`) – None
  Return type: | void

`LabelAppearance.``textColor`()

  The color of the text

  Return type: | Color3Like

`LabelAppearance.``textColor`(clr)

  Arguments: | clr (`Color3Like`) – None
  Return type: | void

## Methods

### getAsProperties

`LabelAppearance.``getAsProperties`()

  Gets the appearance settings for this labels part as a Plain Old JavaScript Object (POJO).

  Return type: | LabelAppearanceProperties

### setFromProperties

`LabelAppearance.``setFromProperties`(props)

  Arguments: | props (`Partial`) – None

  Applies the settings in the given properties object to this appearance object

  Return type: | void

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Web in your own language, or choose a sample question below to start a conversation:

What is HOOPS Envision for Web?
What are the latest release notes for HOOPS Envision for Web?
How do I start evaluating HOOPS Envision for Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...