12.4.5. Styles

A style object contains a set of expressions specifying values for inherited characteristics.

[181] style-expression = (style keyword-argument-list)

Evaluates to an object of type style. The following keywords are allowed in the keyword-argument-list:

NOTE 44: A style-expression is interpreted in a similar manner to a make-expression with an atomic flow object class that has only inherited characteristics.

(style? obj)

Returns #t if obj is of type style, and otherwise returns #f.

(merge-style style ...)

Returns a style object constructed by merging style, .... The expression for a characteristic in the returned style object is the expression for that characteristic in the first of the argument style objects that contains an expression for that characteristic.