SharpLeaf Reference > BoxStyle Structure > BoxStyle Constructor > (Int32[],Color,LineStyle,Double,Color,FillStyle,Boolean)

BoxStyle Constructor (Int32[],Color,LineStyle,Double,Color,FillStyle,Boolean)

Fully decorated edges – rounding not supported if edges are not all of the same nib.

public BoxStyle(
    int[] edgeWidths,
    Color edgeColor,
    LineStyle edgeStyle,
    double radius,
    Color fillColor,
    FillStyle fillStyle,
    bool shadow
);
edgeWidths
Edge line weights in points for all four sides {left,top,right,bottom} (a single value will be repeated) (default is 1).
edgeColor
Edge color (default is Black).
edgeStyle
Edge LineStyle (default is Solid).
radius
Radius of rounded corners (default is 0 for square) – unsupported if edgeWidths have different values.
fillColor
Background color (default is Transparent).
fillStyle
Background FillStyle (default is Unfilled).
shadow
Flag to enable shadow decoration (default is f.

See also ...

BoxStyle.Members | BoxStyle.BoxStyle Constructor


Send comments on this topic
© Dyalog Ltd 2016