Skip to content

GraphicsBox ​

A drawing: primitives in a frame's coordinates, with ColorRules, ColorMixing, BoundaryStyle, Selection and ViewKind as options.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguageGraphicsBox✓
GraphicsBox(box, options)A drawing: primitives in a frame's coordinates, with ColorRules, ColorMixing, BoundaryStyle, Selection and ViewKind as options.
Typed signatures
TypePackageApplies
(boxes | list, expression*) -> boxesboxesalways

Domain: Boxes

Details
  • The one box every environment draws a figure from: a canvas, a terminal and a native view read the same primitives, tagged by address. Show lowers to it.
  • Rules stay data; each drawer resolves them per mark.
  • Prints as -Graphics- in text, as Wolfram does.
  • Wolfram holds a figure's marks in a list, GraphicsBox[{}] when empty. A built box here holds them in a RowBox (GraphicsBox[RowBox[{}]]), so the example states Wolfram's form as inert data.

Examples

Basic #

a box is inert: it evaluates to itself

live ↗
InGraphicsBox([])\mathrm{GraphicsBox}(\bigl\lbrack\bigr\rbrack)OutGraphicsBox([])\mathrm{GraphicsBox}(\bigl\lbrack\bigr\rbrack)
About
Examples1
Checked againstWolfram Language 1 agree
CrosswalkWolfram Language

See also: GraphicsComplexBox, StyleBox