new UCssBilboard()
Methods
-
dispose()
-
css 객체 제거 및 비가시화
-
getElement()HTMLDivElement
-
해당 객체의 dom element를 반환
Returns:
Type Description HTMLDivElement -
getImageElement()HTMLImageElement
-
image dom element를 반환
Returns:
Type Description HTMLImageElement -
getImageStyle()object
-
image dom 객체의 style 반환
Returns:
Type Description object image dom style 객체 -
getLabel()string
-
text의 내용을 반환
Returns:
Type Description string text 내용 -
getLabelElement()HTMLDivElement|*
-
text dom element를 반환
Returns:
Type Description HTMLDivElement | * -
getLabelStyle()object
-
text dom 객체의 style 반환
Returns:
Type Description object text dom style 객체 -
getLineElement()HTMLDivElement|*
-
point와 text 사이의 수직선에 해당하는 dom element를 반환
Returns:
Type Description HTMLDivElement | * -
getLineStyle()object
-
line dom 객체의 style 반환
Returns:
Type Description object line dom style 객체 -
getPointDefaultSize()number|string
-
point 초기 크기 반환
Returns:
Type Description number | string 초기 크기 반환 -
getPointElement()HTMLDivElement|*
-
point에 해당하는 dom element를 반환
Returns:
Type Description HTMLDivElement | * -
getPointSize()number|string
-
point 크기 반환
Returns:
Type Description number | string size point 반환 -
getPointStyle()object
-
point dom 객체의 style 반환
Returns:
Type Description object point dom style 객체 -
getPosition()WorldPosition
-
현재 위치 반환
Returns:
Type Description WorldPosition 현재 위치 반환 -
getStyle()object
-
현재 dom 객체의 style 반환
Returns:
Type Description object style 객체 -
setBackGround(color)
-
dom 객체 background 색상 설정
Name Type Description colorColorRepresentation background 색상
-
setColor(color)
-
text 라벨 색상 설정
Name Type Description colorColorRepresentation 라벨 색상
-
setFont(font)
-
text font 설정
Name Type Description fontstring font style 설정
-
setFontFamily(fontFamily)
-
text fontFamily 설정
Name Type Description fontFamilystring fontFamily style 설정
-
setFontSize(size)
-
text 폰트 크기 설정
Name Type Description sizenumber | string optional 폰트 크기
-
setImage(image)
-
image src를 설정
Name Type Description imagestring image src 경로
-
setImageSize(imageSize)
-
image dom 객체 크기 설정
Name Type Description imageSizenumber -
setLabel(text)
-
text의 내용을 설정
Name Type Description textstring 수정할 내용
-
setLineColor(color)
-
line 색상 설정
Name Type Description colorColorRepresentation line 색상
-
setLineHeight(height)
-
line 높이 설정
Name Type Description heightnumber | string line 높이
-
setLineWidth(width)
-
line 너비 설정
Name Type Description widthnumber | string line 너비
-
setPointColor(color)
-
point 색상 설정
Name Type Description colorColorRepresentation point 색상
-
setPointSize(size)
-
point 크기 설정
Name Type Description sizenumber | string point 크기
-
setPosition(position)
-
위치 설정
Name Type Description positionWorldPosition 설정할 위치의 world 좌표
-
setSize(size)
-
dom 객체 크기 설정
Name Type Description sizenumber 폰트 크기