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