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

BoxStyle Constructor (Double,Color,LineStyle,Double,Color,FillStyle,Boolean)

Fully decorated box.

public BoxStyle(
    double edgeWidth,
    Color edgeColor,
    LineStyle edgeStyle,
    double radius,
    Color fillColor,
    FillStyle fillStyle,
    bool shadow
);
edgeWidth
Edge line weight in points (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 false).

See also ...

BoxStyle.Members | BoxStyle.BoxStyle Constructor


Send comments on this topic
© Dyalog Ltd 2021