Syntax
width (required : number ) width of the gauge bar
option (optional : table) = {
height = n, -- height of the gauge bar (default:width*0.12)
strokeColor = color, -- border line color (default:Color.WHITE)
strokeWidth = n, -- border line width (default : width/50)
bgColor = color, -- background color (default : Color.BLACK)
gaugeColor = color, -- gauge color (default : Color.RED)
min = n,
max = n,
textLocation = 'left' or 'right' or 'top' or 'bottom'
fontSize = n -- font size of value (default: height*1.35)
textMarge = n -- gap between gauage and text in pixel
(default: fontSize*0.5)
fontColor = color -- (default: Color.WHITE)
}
Note: Initial value of the gauge is set to minimum value.
댓글 없음:
댓글 쓰기