-
Notifications
You must be signed in to change notification settings - Fork 0
Triangle
Bielen Pierre edited this page Jul 14, 2019
·
1 revision
- newTriangle(title.s,titleInput1.s,titleInput2.s,titleOutput.s,*color,x,y)
- title -> String -> title of triangle
- titleInput1 -> String -> title of input A
- titleInput2 -> String -> title of input B
- titleOutput -> String -> title of output
- color -> Instance of GradientColor -> gradient color
- X -> Integer -> porsition -> x
- Y -> Integer -> porsition -> y
- Void
- getColors() return -> Instance of Colors
- getPosX() return -> Integer -> position X
- getPosY() return -> Integer -> position X
- getWidht() return -> Integer -> width
- getHeight() return -> Integer -> height
- getSelectedColor() return -> Integer -> color used when it's selected
- getData() return -> your personal data (Integer or Pointer)
- getInputA() return -> Instance of InputIcon
- getInputB() return -> Instance of InputIcon
- getOutPut() return -> Instance of OutputIcon
- getTitle()
- setPosX(x)
- x -> Integer -> position x
- setPosY(y)
- y -> Integer -> position y
- setSelectedColor(color)
- color -> Integer -> color with alpha
- setData(myData)
- myData -> Integer -> data as you want
- setInputATextProperty(color,font = 0,title.s = "")
- color -> Integer -> color with alpha
- font -> Integer -> id font get it with loadFont(#pb_any,name,size,flag)
- title -> String -> Title of icon
- setInputBTextProperty(color,font = 0,title.s = "")
- setOutputTextProperty(color,font = 0,title.s = "")
- setTitleTextProperty(color,font = 0,title.s = "")
Void