### 3.1.44 Flag

Flag objects are not created by any engraver.

Standard settings:

> `color` (color):

>   `#<procedure #f (grob)>`

>   The color of this grob.

> `glyph-name` (string):

>   `ly:flag::glyph-name`

>   The glyph name within the font.

>   In the context of (span) bar lines, glyph-name represents a processed form of `glyph`, where decisions about line breaking etc. are already taken.

> `stencil` (stencil):

>   `ly:flag::print`

>   The symbol to print.

> `transparent` (boolean):

>   `#<procedure #f (grob)>`

>   This makes the grob invisible.

> `vertical-skylines` (pair of skylines):

>   `#<unpure-pure-container #<primitive-procedure ly:grob::vertical-skylines-from-stencil> >`

>   Two skylines, one above and one below this grob.

> `X-extent` (pair of numbers):

>   `ly:flag::width`

>   Extent (size) in the X direction, measured in staff-space units, relative to object’s reference point.

> `X-offset` (number):

>   `ly:flag::calc-x-offset`

>   The horizontal amount that this object is moved relative to its X-parent.

> `Y-extent` (pair of numbers):

>   `#<unpure-pure-container #<primitive-procedure ly:grob::stencil-height> >`

>   Extent (size) in the Y direction, measured in staff-space units, relative to object’s reference point.

> `Y-offset` (number):

>   `#<unpure-pure-container #<primitive-procedure ly:flag::calc-y-offset> #<primitive-procedure ly:flag::pure-calc-y-offset> >`

>   The vertical amount that this object is moved relative to its Y-parent.

This object supports the following interface(s): flag-interface, font-interface, grob-interface and item-interface.

#### Internals Reference v2.18.2 (稳定分支).