Packagekor.elements
Classpublic class Label

차트에 메모를 넣을 수 있는 라벨입니다.

메모는 CanvasElement 노드 안에 Label 태그로 작성하십시오.



Styles
 StyleDescriptionDefined by
  
backgroundAlpha
Type: Number
배경색의 투명도를 나타냅니다.
Label
  
backgroundColor
Type: uint   Format: Color
배경색을 나타냅니다.
Label
  
borderAlpha
Type: Number
테두리의 투명도를 나타냅니다.
Label
  
borderColor
Type: uint   Format: Color
테두리 색을 나타냅니다.
Label
  
borderStyle
Type: String
테두리 선 스타일을 나타냅니다. 유효값으로는 solid, none 입니다. The default value is solid.
Label
  
borderThickness
Type: Number   Format: Length
테두리의 두께를 나타냅니다.
Label
  
bottom
Type: Number   Format: Length

하단 가장자리에서 얼마만큼 Label 을 떨어 뜨릴지를 나타냅니다.

Label
  
color
Type: uint   Format: Color

글자색을 RGB로 지정합니다.

The default value is 0x0B333C.
Label
  
cornerRadius
Type: Number   Format: Length
테두리의 모서리의 둥근정도를 나타냅니다.
Label
  
fontFamily
Type: String

사용할 폰트명을 지정합니다. 기본적으로 시스템 폰트를 사용합니다.

The default value is "Verdana".
Label
  
fontSize
Type: Number   Format: Length

글자의 크기를 픽셀단위로 지정합니다.

The default value is 12.
Label
  
fontStyle
Type: String

이텔릭체로 글자를 표현할지를 나타냅니다. 유효값은 "normal", "italic" 입니다..

The default value is "normal".
Label
  
fontWeight
Type: String

볼드체로 글자를 표현할지를 나타냅니다. 유효값은 "normal", "bold" 입니다..

The default value is "bold".
Label
  
height
Type: Number   Format: Length

세로 사이즈를 지정합니다.

Label
  
left
Type: Number   Format: Length

왼쪽 가장자리에서 얼마만큼 Label 을 떨어 뜨릴지를 나타냅니다.

Label
  
paddingBottom
Type: Number   Format: Length

하단 여백을 픽셀단위로 지정합니다.

The default value is 0.
Label
  
paddingLeft
Type: Number   Format: Length

왼쪽 여백을 픽셀단위로 지정합니다.

The default value is 0.
Label
  
paddingRight
Type: Number   Format: Length

오른쪽 여백을 픽셀단위로 지정합니다.

The default value is 0.
Label
  
paddingTop
Type: Number   Format: Length

상단 여백을 픽셀단위로 지정합니다.

The default value is 3.
Label
  
right
Type: Number   Format: Length

오른쪽 가장자리에서 얼마만큼 Label 을 떨어 뜨릴지를 나타냅니다.

Label
  
styleName
Type: String

Style 노드에서 정의한 스타일 이름을 지정합니다.

Label
  
textAlign
Type: String

텍스트 정렬을 어떻게 할지 결정합니다. 유효값은 "left", "right", "center" 입니다.

The default value is "center".
Label
  
textDecoration
Type: String

텍스트에 밑줄을 표시할지 결정합니다. 유효값은 "none", "underline" 입니다.

The default value is "none".
Label
  
textIndent
Type: Number   Format: Length

텍스트에 들어쓰기를 픽셀단위로 결정합니다.

The default value is 0.
Label
  
top
Type: Number   Format: Length

상단 가장자리에서 얼마만큼 Label 을 떨어 뜨릴지를 나타냅니다.

Label
  
width
Type: Number   Format: Length

가로 사이즈를 지정합니다.

Label