({{, (RefLink[BoxStyle, paclet:ref/BoxStyle])
is an option for three-dimensional graphics functions that specifies how the bounding box should be rendered. }})

OpenersNotesSection(Spacer1)Details

(RefLink[BoxStyle, paclet:ref/BoxStyle]) can be set to a list of graphics directives such as (RefLink[Dashing, paclet:ref/Dashing]), (RefLink[Thickness, paclet:ref/Thickness]), (RefLink[GrayLevel, paclet:ref/GrayLevel]), and (RefLink[RGBColor, paclet:ref/RGBColor]).

The default style of the bounding box is specified by the option (RefLink[DefaultBoxStyle, paclet:ref/DefaultBoxStyle]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (5)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Use dashed lines for the bounding box:

Graphics3D[Cylinder[],BoxStyle->Directive[Dashed]]

OpenersExampleSection1(Spacer1)Scope  (1)

Styles associated with lines can be used, combined by (RefLink[Directive, paclet:ref/Directive]):

Graphics3D[Cylinder[],BoxStyle->Directive[Dashed,Orange,Thick]]

OpenersExampleSection2(Spacer1)Properties & Relations  (3)

In 3D, the axes are drawn on the bounding box edges:

Graphics3D[Cylinder[],Axes->True]

Styles of the axes edges are not affected by (RefLink[BoxStyle, paclet:ref/BoxStyle]):

Graphics3D[Cylinder[],Axes->True,BoxStyle->Directive[Dashed,Orange]]

Styles of the axes edges can be specified by (RefLink[AxesStyle, paclet:ref/AxesStyle]):

Graphics3D[Cylinder[],Axes->True,AxesStyle->{Red,Green,Blue},BoxStyle->Directive[Dashed,Orange]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[AxesStyle, paclet:ref/AxesStyle])  ▪  (RefLink[Prolog, paclet:ref/Prolog])  ▪  (RefLink[Epilog, paclet:ref/Epilog])  ▪  (RefLink[DisplayFunction, paclet:ref/DisplayFunction])  ▪  (RefLink[DefaultBoxStyle, paclet:ref/DefaultBoxStyle])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Labeling Three-Dimensional Graphics, paclet:tutorial/LabelingThreeDimensionalGraphics])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[3D Graphics Options, paclet:guide/3DGraphicsOptions])}})}})