Util
Methods
AddZeros
AddZeros(z)
parameters
name: z
desc:
type: string|number|object
return value
desc:
type:
BGRtoRGB
BGRtoRGB(oldValue)
parameters
name: oldValue
desc:
type: string|number|object
return value
desc:
type:
BySecoundValue
BySecoundValue(lst)
parameters
name: lst
desc:
type: string|number|object
return value
desc:
type:
ConvertStObjToObjOfStr
ConvertStObjToObjOfStr(obj)
parameters
name: obj
desc:
type: string|number|object
return value
desc:
type:
DPIScale
DPIScale(pos, enlarge := true)
return value
desc:
type:
FindIndex
FindIndex(lst, val, fun := false)
parameters
name: lst
desc:
type: string|number|object
name: val
desc:
type: string|number|object
name: fun
desc:
type: Func|BoundFunc|false
default: false
return value
desc:
type:
Join
Join(sep, params)
parameters
name: sep
desc:
type: string
name: params
desc:
type: array
return value
desc:
type: string
Justify
Justify(justifyOptions, area, pos, border)
parameters
name: justifyOptions
desc:
type: string
return value
desc:
type: GridGUI.Position
prettyPrint
prettyPrint(str)
parameters
name: str
desc:
type: string|number|object
return value
desc:
type:
RemoveValue
RemoveValue(lst, val, fun := false)
parameters
name: lst
desc:
type: string|number|object
name: val
desc:
type: string|number|object
name: fun
desc:
type: Func|BoundFunc|false
default: false
return value
desc:
type:
RGBtoBGR
RGBtoBGR(oldValue)
parameters
name: oldValue
desc:
type: string|number|object
return value
desc:
type:
Sort
Sort(obj, fun)
parameters
name: obj
desc:
type: string|number|object
name: fun
desc:
type: Func|BoundFunc
return value
desc:
type:
Sum
Sum(obj)
parameters
name: obj
desc:
type: string|number|object
return value
desc:
type: