| SharpLeaf Reference > BoxStyle Structure BoxStyle StructureBoxing decoration attributes (edge, fill, etc.). public class BoxStyle Constructors
 
public BoxStyle();
public BoxStyle(double edgeWidth);
public BoxStyle(int[] edgeWidths);
public BoxStyle(double[] edgeWidths);
public BoxStyle(double edgeWidth, Color edgeColor);
public BoxStyle(int[] edgeWidths, Color edgeColor);
public BoxStyle(double[] edgeWidths, Color edgeColor);
public BoxStyle(double edgeWidth, Color edgeColor, LineStyle edgeStyle, double radius);
public BoxStyle(int[] edgeWidths, Color edgeColor, LineStyle edgeStyle);
public BoxStyle(double[] edgeWidths, Color edgeColor, LineStyle edgeStyle);
public BoxStyle(double edgeWidth, Color edgeColor, LineStyle edgeStyle, double radius, Color fillColor, FillStyle fillStyle, bool shadow);
public BoxStyle(int[] edgeWidths, Color edgeColor, LineStyle edgeStyle, double radius, Color fillColor, FillStyle fillStyle, bool shadow);
public BoxStyle(double[] edgeWidths,Color edgeColor,LineStyle edgeStyle,double radius,Color fillColor,FillStyle fillStyle,bool shadow);
 BoxStyle Instance Properties| EdgeColor | Color of edges |  | EdgeStyle | Line style of edges |  | EdgeWidths | Line-weight in points for the four edges : left, top, right, bottom (a single value will be repeated) |  | FillColor | Color used to shade the box |  | FillStyle | Shading used to apply color to box area |  | Radius | Corner rounding in points – default is 0 for a square box |  | Shadow | Draw a shadow below box | 
 BoxStyle Methods| Clone | Take a deep copy of a box decoration definition |  | ToString | Readable summary of Rule detail |  |  | 
 See alsoSharpLeaf.SetBox | Table.Box | Table.SetCellBox | Frame.Box | Box.Style
 RequirementsNamespace: Causeway Assembly: SharpPlot (in sharpplot.dll) 
 Send comments on this topic© Dyalog Ltd 2021
 |