Esempio n. 1
0
 public Border(Margins margins, Color color)
 {
     Margins = margins;
     Color   = color;
 }
Esempio n. 2
0
 public static Border Lerp(Border from, Border to, float v)
 {
     v = Mathf.Clamp01(v);
     return(new Border(Margins.Lerp(from.Margins, to.Margins, v), Color.Lerp(from.Color, to.Color, v)));
 }
Esempio n. 3
0
 public Style()
 {
     Margin  = new Margins();
     Border  = new Border();
     Padding = new Margins();
 }