public void CopyFrom(BorderSize borderSize) { Top = borderSize.Top; Right = borderSize.Right; Bottom = borderSize.Bottom; Left = borderSize.Left; }
public bool Equals(BorderSize other) => !ReferenceEquals(other, null) && Top.Equals(other.Top) && Right.Equals(other.Right) && Bottom.Equals(other.Bottom) && Left.Equals(other.Left);
public BorderStyle(BorderSize size, Color color) : this(size, color, 0) { }
public BorderStyle(BorderSize size, Color color, float radius) { Size = size; Color = color; Radius = radius; }