Ejemplo n.º 1
0
 public XPlatViewStyle(XPlatColor backgroundColor = null, XPlatCornerRadius cornerRadius = null, XPlatColor borderColor = null)
 {
     BackgroundColor = backgroundColor;
     CornerRadius    = cornerRadius;
     BorderColor     = borderColor;
 }
Ejemplo n.º 2
0
 public XPlatColor(XPlatColor color)
     : this(color.Red, color.Green, color.Blue, color.Alpha)
 {
 }
Ejemplo n.º 3
0
 public XPlatButtonStyle(XPlatLabelStyle labelStyle = null, XPlatCornerRadius cornerRadius = null, XPlatColor borderColor = null)
     : base(labelStyle)
 {
     CornerRadius = cornerRadius;
     BorderColor  = borderColor;
 }
Ejemplo n.º 4
0
 public XPlatButtonStyle(XPlatLabelStyle labelStyle = null, XPlatColor backgroundColor = null, XPlatCornerRadius cornerRadius = null, XPlatColor borderColor = null)
     : this(labelStyle, cornerRadius, borderColor)
 {
     BackgroundColor = backgroundColor;
 }
Ejemplo n.º 5
0
 public XPlatLabelStyle(XPlatColor color = null, XPlatFont font = null, XPlatTextAlignType textAlign = XPlatTextAlignType.Default)
     : base(color)
 {
     this.Font      = font;
     this.TextAlign = textAlign;
 }
Ejemplo n.º 6
0
 public XPlatStyle(XPlatColor color)
 {
     Color = color;
 }