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