@CompileStatic class StyleGroup extends Selectable
A group of styles as represented in a CSS file.
Modifiers | Name | Description |
---|---|---|
class |
StyleGroup.Styles |
Type | Name and description |
---|---|
ColorMethods |
colorMethods |
Config |
config |
StyleGroup |
current |
List<StyleGroup> |
extenders |
MediaCSS |
owner |
List<Style> |
styleList |
StyleGroup.Styles |
styles |
List |
transform |
Constructor and description |
---|
StyleGroup
(String selector, Config config1, MediaCSS owner1) |
Type Params | Return Type | Name and description |
---|---|---|
|
StyleGroup |
add(Style style) Adds given style to this StyleGroup. |
|
StyleGroup |
add(StyleGroup sg) Adds all styles from given StyleGroup to this StyleGroup. |
|
StyleGroup |
add(String subselector, Closure<StyleGroup> closure) Appends to selector with additional subselector, adds a new StyleGroup element, and runs given closure on it. |
|
StyleGroup |
add(Selector subselector, Closure<StyleGroup> closure) See #add(String, Closure). |
|
StyleGroup |
alignContent(def value) Sets the alignment between the lines inside a flexible container when the items do not use all available space |
|
StyleGroup |
alignItems(def value) Sets the alignment for items inside a flexible container |
|
StyleGroup |
alignSelf(def value) Sets the alignment for selected items inside a flexible container |
|
StyleGroup |
animation(def value) A shorthand property for all the animation properties below, except the animationPlayState property |
|
StyleGroup |
animation(def value, Closure closure) A shorthand property for all the animation properties below, plus a closure to define keyframes. |
|
StyleGroup |
animationDelay(def value) Sets when the animation will start |
|
StyleGroup |
animationDirection(def value) Sets whether or not the animation should play in reverse on alternate cycles |
|
StyleGroup |
animationDuration(def value) Sets how many seconds or milliseconds an animation takes to complete one cycle |
|
StyleGroup |
animationFillMode(def value) Sets what values are applied by the animation outside the time it is executing |
|
StyleGroup |
animationIterationCount(def value) Sets the number of times an animation should be played |
|
StyleGroup |
animationName(def value) Sets a name for the @keyframes animation |
|
StyleGroup |
animationPlayState(def value) Sets whether the animation is running or paused |
|
StyleGroup |
animationTimingFunction(def value) Sets the speed curve of the animation |
|
StyleGroup |
backfaceVisibility(def value) Sets whether or not an element should be visible when not facing the screen |
|
StyleGroup |
background(def value) Sets all the background properties in one declaration |
|
StyleGroup |
backgroundAttachment(def value) Sets whether a background-image is fixed or scrolls with the page |
|
StyleGroup |
backgroundClip(def value) Sets the painting area of the background |
|
StyleGroup |
backgroundColor(def value) Sets the background-color of an element |
|
StyleGroup |
backgroundImage(def value) Sets the background-image for an element |
|
StyleGroup |
backgroundOrigin(def value) Sets the positioning area of the background images |
|
StyleGroup |
backgroundPosition(def value) Sets the starting position of a background-image |
|
StyleGroup |
backgroundRepeat(def value) Sets how to repeat (tile) a background-image |
|
StyleGroup |
backgroundSize(def value) Sets the size of the background image |
|
StyleGroup |
bitwiseNegate() |
|
StyleGroup |
border(def value) Sets borderWidth, borderStyle, and borderColor in one declaration |
|
StyleGroup |
borderBottom(def value) Sets all the borderBottom* properties in one declaration |
|
StyleGroup |
borderBottomColor(def value) Sets the color of the bottom border |
|
StyleGroup |
borderBottomLeftRadius(def value) Sets the shape of the border of the bottom-left corner |
|
StyleGroup |
borderBottomRightRadius(def value) Sets the shape of the border of the bottom-right corner |
|
StyleGroup |
borderBottomStyle(def value) Sets the style of the bottom border |
|
StyleGroup |
borderBottomWidth(def value) Sets the width of the bottom border |
|
StyleGroup |
borderCollapse(def value) Sets whether the table border should be collapsed into a single border, or not |
|
StyleGroup |
borderColor(def value) Sets the color of an element's border (can have up to four values) |
|
StyleGroup |
borderImage(def value) A shorthand property for setting or returning all the borderImage* properties |
|
StyleGroup |
borderImageOutset(def value) Sets the amount by which the border image area extends beyond the border box |
|
StyleGroup |
borderImageRepeat(def value) Sets whether the image-border should be repeated, rounded or stretched |
|
StyleGroup |
borderImageSlice(def value) Sets the inward offsets of the image-border |
|
StyleGroup |
borderImageSource(def value) Sets the image to be used as a border |
|
StyleGroup |
borderImageWidth(def value) Sets the widths of the image-border |
|
StyleGroup |
borderLeft(def value) Sets all the borderLeft* properties in one declaration |
|
StyleGroup |
borderLeftColor(def value) Sets the color of the left border |
|
StyleGroup |
borderLeftStyle(def value) Sets the style of the left border |
|
StyleGroup |
borderLeftWidth(def value) Sets the width of the left border |
|
StyleGroup |
borderRadius(def value) A shorthand property for setting or returning all the four border*Radius properties |
|
StyleGroup |
borderRight(def value) Sets all the borderRight* properties in one declaration |
|
StyleGroup |
borderRightColor(def value) Sets the color of the right border |
|
StyleGroup |
borderRightStyle(def value) Sets the style of the right border |
|
StyleGroup |
borderRightWidth(def value) Sets the width of the right border |
|
StyleGroup |
borderSpacing(def value) Sets the space between cells in a table |
|
StyleGroup |
borderStyle(def value) Sets the style of an element's border (can have up to four values) |
|
StyleGroup |
borderTop(def value) Sets all the borderTop* properties in one declaration |
|
StyleGroup |
borderTopColor(def value) Sets the color of the top border |
|
StyleGroup |
borderTopLeftRadius(def value) Sets the shape of the border of the top-left corner |
|
StyleGroup |
borderTopRightRadius(def value) Sets the shape of the border of the top-right corner |
|
StyleGroup |
borderTopStyle(def value) Sets the style of the top border |
|
StyleGroup |
borderTopWidth(def value) Sets the width of the top border |
|
StyleGroup |
borderWidth(def value) Sets the width of an element's border (can have up to four values) |
|
StyleGroup |
bottom(def value) Sets the bottom position of a positioned element |
|
StyleGroup |
boxDecorationBreak(def value) Sets the behaviour of the background and border of an element at page-break, or, for in-line elements, at line-break. |
|
StyleGroup |
boxShadow(def value) Attaches one or more drop-shadows to the box |
|
StyleGroup |
boxSizing(def value) Allows you to define certain elements to fit an area in a certain way |
|
StyleGroup |
captionSide(def value) Sets the position of the table caption |
|
StyleGroup |
clear(def value) Sets the position of the element relative to floating objects |
|
StyleGroup |
clip(def value) Sets which part of a positioned element is visible |
|
Style |
cloneMoz(Style s) |
|
Style |
cloneMs(Style s) |
|
Style |
cloneOpera(Style s) |
|
void |
cloneTrio(Style style) |
|
Style |
cloneWebkit(Style s) |
|
StyleGroup |
color(def value) Sets the color of the text |
|
StyleGroup |
columnCount(def value) Sets the number of columns an element should be divided into |
|
StyleGroup |
columnFill(def value) Sets how to fill columns |
|
StyleGroup |
columnGap(def value) Sets the gap between the columns |
|
StyleGroup |
columnRule(def value) A shorthand property for setting or returning all the columnRule* properties |
|
StyleGroup |
columnRuleColor(def value) Sets the color of the rule between columns |
|
StyleGroup |
columnRuleStyle(def value) Sets the style of the rule between columns |
|
StyleGroup |
columnRuleWidth(def value) Sets the width of the rule between columns |
|
StyleGroup |
columnSpan(def value) Sets how many columns an element should span across |
|
StyleGroup |
columnWidth(def value) Sets the width of the columns |
|
StyleGroup |
columns(def value) A shorthand property for setting or returning columnWidth and columnCount |
|
StyleGroup |
content(def value) Used with the :before and :after pseudo-elements, to insert generated content |
|
StyleGroup |
counterIncrement(def value) Increments one or more counters |
|
StyleGroup |
counterReset(def value) Creates or resets one or more counters |
|
List<Style> |
createWebkitMozOpera(Style style) |
|
StyleGroup |
cssFloat(def value) Sets the horizontal alignment of an element |
|
StyleGroup |
cursor(def value) Sets the type of cursor to display for the mouse pointer |
|
StyleGroup |
direction(def value) Sets the text direction |
|
StyleGroup |
display(def value) Sets an element's display type |
|
StyleGroup |
emptyCells(def value) Sets whether to show the border and background of empty cells, or not |
|
StyleGroup |
extend(Selector other) See #extend(String). |
|
StyleGroup |
extend(PseudoClass other) See #extend(String). |
|
StyleGroup |
extend(String otherSelector) Finds an existing StyleGroup with given selector and appends [comma selector] to its selector. |
|
StyleGroup |
filter(def value) Sets image filters (visual effects, like blur and saturation) |
|
StyleGroup |
flex(def value) Sets the length of the item, relative to the rest |
|
StyleGroup |
flexBasis(def value) Sets the initial length of a flexible item |
|
StyleGroup |
flexDirection(def value) Sets the direction of the flexible items |
|
StyleGroup |
flexFlow(def value) A shorthand property for the flexDirection and the flexWrap properties |
|
StyleGroup |
flexGrow(def value) Sets how much the item will grow relative to the rest |
|
StyleGroup |
flexShrink(def value) Sets how the item will shrink relative to the rest |
|
StyleGroup |
flexWrap(def value) Sets whether the flexible items should wrap or not |
|
StyleGroup |
font(def value) Sets fontStyle, fontVariant, fontWeight, fontSize, lineHeight, and fontFamily in one declaration |
|
StyleGroup |
fontFamily(def value) Sets the font family for text |
|
StyleGroup |
fontSize(def value) Sets the font size of the text |
|
StyleGroup |
fontSizeAdjust(def value) Preserves the readability of text when font fallback occurs |
|
StyleGroup |
fontStretch(def value) Selects a normal, condensed, or expanded face from a font family |
|
StyleGroup |
fontStyle(def value) Sets whether the style of the font is normal, italic or oblique |
|
StyleGroup |
fontVariant(def value) Sets whether the font should be displayed in small capital letters |
|
StyleGroup |
fontWeight(def value) Sets the boldness of the font |
|
StyleGroup |
hangingPunctuation(def value) Specifies whether a punctuation character may be placed outside the line box |
|
StyleGroup |
height(def value) Sets the height of an element |
|
StyleGroup |
hyphens(def value) Sets how to split words to improve the layout of paragraphs |
|
StyleGroup |
icon(def value) Provides the author the ability to style an element with an iconic equivalent |
|
StyleGroup |
imageOrientation(def value) Specifies a rotation in the right or clockwise direction that a user agent applies to an image |
|
boolean |
isEmpty() Reports true if both styleList and transform are empty. |
|
StyleGroup |
justifyContent(def value) Sets the alignment between the items inside a flexible container when the items do not use all available space. |
|
StyleGroup |
left(def value) Sets the left position of a positioned element |
|
StyleGroup |
leftShift(Style style) Synonym for add. |
|
StyleGroup |
leftShift(StyleGroup sg) Synonymous to add. |
|
StyleGroup |
letterSpacing(def value) Sets the space between characters in a text |
|
StyleGroup |
lineHeight(def value) Sets the distance between lines in a text |
|
StyleGroup |
listStyle(def value) Sets listStyleImage, listStylePosition, and listStyleType in one declaration |
|
StyleGroup |
listStyleImage(def value) Sets an image as the list-item marker |
|
StyleGroup |
listStylePosition(def value) Sets the position of the list-item marker |
|
StyleGroup |
listStyleType(def value) Sets the list-item marker type |
|
StyleGroup |
margin(def value) Sets the margins of an element (can have up to four values) |
|
StyleGroup |
marginBottom(def value) Sets the bottom margin of an element |
|
StyleGroup |
marginLeft(def value) Sets the left margin of an element |
|
StyleGroup |
marginRight(def value) Sets the right margin of an element |
|
StyleGroup |
marginTop(def value) Sets the top margin of an element |
|
StyleGroup |
matrix(def n0, def n1, def n2, def n3, def n4, def n5) Defines a 2D transformation, using a matrix of six values. |
|
StyleGroup |
matrix3d(def n0, def n1, def n2, def n3, def n4, def n5, def n6, def n7, def n8, def n9, def a, def b, def c, def d, def e, def f) Defines a 3D transformation, using a 4x4 matrix of 16 values. |
|
StyleGroup |
maxHeight(def value) Sets the maximum height of an element |
|
StyleGroup |
maxWidth(def value) Sets the maximum width of an element |
|
StyleGroup |
minHeight(def value) Sets the minimum height of an element |
|
StyleGroup |
minWidth(def value) Sets the minimum width of an element |
|
StyleGroup |
minus(StyleGroup other) Creates a new StyleGroup with all styles from given StyleGroup removed. |
|
StyleGroup |
navDown(def value) Sets where to navigate when using the arrow-down navigation key |
|
StyleGroup |
navIndex(def value) Sets the tabbing order for an element |
|
StyleGroup |
navLeft(def value) Sets where to navigate when using the arrow-left navigation key |
|
StyleGroup |
navRight(def value) Sets where to navigate when using the arrow-right navigation key |
|
StyleGroup |
navUp(def value) Sets where to navigate when using the arrow-up navigation key |
|
StyleGroup |
opacity(def value) Sets the opacity level for an element |
|
StyleGroup |
order(def value) Sets the order of the flexible item, relative to the rest |
|
StyleGroup |
orphans(def value) Sets the minimum number of lines for an element that must be left at the bottom of a page when a page break occurs inside an element |
|
StyleGroup |
outline(def value) Sets all the outline properties in one declaration |
|
StyleGroup |
outlineColor(def value) Sets the color of the outline around a element |
|
StyleGroup |
outlineOffset(def value) Offsets an outline, and draws it beyond the border edge |
|
StyleGroup |
outlineStyle(def value) Sets the style of the outline around an element |
|
StyleGroup |
outlineWidth(def value) Sets the width of the outline around an element |
|
StyleGroup |
overflow(def value) Sets what to do with content that renders outside the element box |
|
StyleGroup |
overflowX(def value) Specifies what to do with the left/right edges of the content, if it overflows the element's content area |
|
StyleGroup |
overflowY(def value) Specifies what to do with the top/bottom edges of the content, if it overflows the element's content area |
|
StyleGroup |
padding(def value) Sets the padding of an element (can have up to four values) |
|
StyleGroup |
paddingBottom(def value) Sets the bottom padding of an element |
|
StyleGroup |
paddingLeft(def value) Sets the left padding of an element |
|
StyleGroup |
paddingRight(def value) Sets the right padding of an element |
|
StyleGroup |
paddingTop(def value) Sets the top padding of an element |
|
StyleGroup |
pageBreakAfter(def value) Sets the page-break behavior after an element |
|
StyleGroup |
pageBreakBefore(def value) Sets the page-break behavior before an element |
|
StyleGroup |
pageBreakInside(def value) Sets the page-break behavior inside an element |
|
StyleGroup |
perspective(def value) Sets the perspective on how 3D elements are viewed |
|
StyleGroup |
perspectiveOrigin(def value) Sets the bottom position of 3D elements |
|
StyleGroup |
plus(StyleGroup other) Creates a new StyleGroup with all styles from given StyleGroup and this StyleGroup. |
|
StyleGroup |
position(def value) Sets the type of positioning method used for an element (static, relative, absolute or fixed) |
|
StyleGroup |
quotes(def value) Sets the type of quotation marks for embedded quotations |
|
StyleGroup |
resize(def value) Sets whether or not an element is resizable by the user |
|
StyleGroup |
right(def value) Sets the right position of a positioned element |
|
StyleGroup |
rotate(def angle) Defines a 2D rotation, the angle is specified in the parameter. |
|
StyleGroup |
rotate3d(def x, def y, def z, def angle) Defines a 3D rotation. |
|
StyleGroup |
rotateX(def angle) Defines a 3D rotation along the X-axis. |
|
StyleGroup |
rotateY(def angle) Defines a 3D rotation along the Y-axis. |
|
StyleGroup |
rotateZ(def angle) Defines a 3D rotation along the Z-axis. |
|
StyleGroup |
scale(def x, def y) Defines a 2D scale transformation. |
|
StyleGroup |
scale3d(def x, def y, def z) Defines a 3D scale transformation. |
|
StyleGroup |
scaleX(def x) Defines a scale transformation by giving a value for the X-axis. |
|
StyleGroup |
scaleY(def y) Defines a scale transformation by giving a value for the Y-axis. |
|
StyleGroup |
scaleZ(def z) Defines a 3D scale transformation by giving a value for the Z-axis. |
|
StyleGroup |
skew(def xangle, def yangle) Defines a 2D skew transformation along the X- and the Y-axis. |
|
StyleGroup |
skewX(def angle) Defines a 2D skew transformation along the X-axis. |
|
StyleGroup |
skewY(def angle) Defines a 2D skew transformation along the Y-axis. |
|
StyleGroup |
subselect(String sel) Appends the given text to the selector. |
|
StyleGroup |
tabSize(def value) Sets the length of the tab-character |
|
StyleGroup |
tableLayout(def value) Sets the way to lay out table cells, rows, and columns |
|
StyleGroup |
textAlign(def value) Sets the horizontal alignment of text |
|
StyleGroup |
textAlignLast(def value) Sets how the last line of a block or a line right before a forced line break is aligned when text-align is ""justify"" |
|
StyleGroup |
textDecoration(def value) Sets the decoration of a text |
|
StyleGroup |
textDecorationColor(def value) Sets the color of the text-decoration |
|
StyleGroup |
textDecorationLine(def value) Sets the type of line in a text-decoration |
|
StyleGroup |
textDecorationStyle(def value) Sets the style of the line in a text decoration |
|
StyleGroup |
textIndent(def value) Sets the indentation of the first line of text |
|
StyleGroup |
textJustify(def value) Sets the justification method used when text-align is ""justify"" |
|
StyleGroup |
textOverflow(def value) Sets what should happen when text overflows the containing element |
|
StyleGroup |
textShadow(def value) Sets the shadow effect of a text |
|
StyleGroup |
textTransform(def value) Sets the capitalization of a text |
|
String |
toString() |
|
StyleGroup |
top(def value) Sets the top position of a positioned element |
|
StyleGroup |
transform(def value) Applies a 2D or 3D transformation to an element |
|
StyleGroup |
transformOrigin(def value) Sets the position of transformed elements |
|
StyleGroup |
transformStyle(def value) Sets how nested elements are rendered in 3D space |
|
StyleGroup |
transition(String value) A shorthand property for setting or returning the four transition properties |
|
StyleGroup |
transition(CSSPart part) |
|
StyleGroup |
transition(Closure closure) A DSL for creating a Transition with a single closure defining a transition value. |
|
StyleGroup |
transition(Closure... closures) A DSL for creating a Transition with more than one closure. |
|
StyleGroup |
transitionDelay(def value) Sets when the transition effect will start |
|
StyleGroup |
transitionDuration(def value) Sets how many seconds or milliseconds a transition effect takes to complete |
|
StyleGroup |
transitionProperty(def value) Sets the CSS property that the transition effect is for |
|
StyleGroup |
transitionTimingFunction(def value) Sets the speed curve of the transition effect |
|
StyleGroup |
translate(def x, def y) Defines a 2D translation. |
|
StyleGroup |
translate3d(def x, def y, def z) Defines a 3D translation. |
|
StyleGroup |
translateX(def x) Defines a translation, using only the value for the X-axis. |
|
StyleGroup |
translateY(def y) Defines a translation, using only the value for the Y-axis. |
|
StyleGroup |
translateZ(def z) Defines a 3D translation, using only the value for the Z-axis. |
|
StyleGroup |
unicodeBidi(def value) Sets whether the text should be overridden to support multiple languages in the same document |
|
static def |
validateAngle(def angle) |
|
static def |
validateLength(def x) |
|
static def |
validateTime(def x) |
|
StyleGroup |
verticalAlign(def value) Sets the vertical alignment of the content in an element |
|
StyleGroup |
visibility(def value) Sets whether an element should be visible |
|
StyleGroup |
whiteSpace(def value) Sets how to handle tabs, line breaks and whitespace in a text |
|
StyleGroup |
widows(def value) Sets the minimum number of lines for an element that must be visible at the top of a page |
|
StyleGroup |
width(def value) Sets the width of an element |
|
StyleGroup |
wordBreak(def value) Sets line breaking rules for non-CJK scripts |
|
StyleGroup |
wordSpacing(def value) Sets the spacing between words in a text |
|
StyleGroup |
wordWrap(def value) Allows long, unbreakable words to be broken and wrap to the next line |
|
StyleGroup |
zIndex(def value) Sets the stack order of a positioned element |
Adds given style to this StyleGroup.
Adds all styles from given StyleGroup to this StyleGroup. Returns this StyleGroup.
Appends to selector with additional subselector, adds a new StyleGroup element, and runs given closure on it. If subselector is a psuedo-class of style-class (starts with : or .) it is appended without space.
See #add(String, Closure).
Sets the alignment between the lines inside a flexible container when the items do not use all available space
Sets the alignment for items inside a flexible container
Sets the alignment for selected items inside a flexible container
A shorthand property for all the animation properties below, except the animationPlayState property
A shorthand property for all the animation properties below, plus a closure to define keyframes.
Sets when the animation will start
Sets whether or not the animation should play in reverse on alternate cycles
Sets how many seconds or milliseconds an animation takes to complete one cycle
Sets what values are applied by the animation outside the time it is executing
Sets the number of times an animation should be played
Sets a name for the
Sets whether the animation is running or paused
Sets the speed curve of the animation
Sets whether or not an element should be visible when not facing the screen
Sets all the background properties in one declaration
Sets whether a background-image is fixed or scrolls with the page
Sets the painting area of the background
Sets the background-color of an element
Sets the background-image for an element
Sets the positioning area of the background images
Sets the starting position of a background-image
Sets how to repeat (tile) a background-image
Sets the size of the background image
Sets borderWidth, borderStyle, and borderColor in one declaration
Sets all the borderBottom* properties in one declaration
Sets the color of the bottom border
Sets the shape of the border of the bottom-left corner
Sets the shape of the border of the bottom-right corner
Sets the style of the bottom border
Sets the width of the bottom border
Sets whether the table border should be collapsed into a single border, or not
Sets the color of an element's border (can have up to four values)
A shorthand property for setting or returning all the borderImage* properties
Sets the amount by which the border image area extends beyond the border box
Sets whether the image-border should be repeated, rounded or stretched
Sets the inward offsets of the image-border
Sets the image to be used as a border
Sets the widths of the image-border
Sets all the borderLeft* properties in one declaration
Sets the color of the left border
Sets the style of the left border
Sets the width of the left border
A shorthand property for setting or returning all the four border*Radius properties
Sets all the borderRight* properties in one declaration
Sets the color of the right border
Sets the style of the right border
Sets the width of the right border
Sets the space between cells in a table
Sets the style of an element's border (can have up to four values)
Sets all the borderTop* properties in one declaration
Sets the color of the top border
Sets the shape of the border of the top-left corner
Sets the shape of the border of the top-right corner
Sets the style of the top border
Sets the width of the top border
Sets the width of an element's border (can have up to four values)
Sets the bottom position of a positioned element
Sets the behaviour of the background and border of an element at page-break, or, for in-line elements, at line-break.
Attaches one or more drop-shadows to the box
Allows you to define certain elements to fit an area in a certain way
Sets the position of the table caption
Sets the position of the element relative to floating objects
Sets which part of a positioned element is visible
Sets the color of the text
Sets the number of columns an element should be divided into
Sets how to fill columns
Sets the gap between the columns
A shorthand property for setting or returning all the columnRule* properties
Sets the color of the rule between columns
Sets the style of the rule between columns
Sets the width of the rule between columns
Sets how many columns an element should span across
Sets the width of the columns
A shorthand property for setting or returning columnWidth and columnCount
Used with the :before and :after pseudo-elements, to insert generated content
Increments one or more counters
Creates or resets one or more counters
Sets the horizontal alignment of an element
Sets the type of cursor to display for the mouse pointer
Sets the text direction
Sets an element's display type
Sets whether to show the border and background of empty cells, or not
See #extend(String).
See #extend(String).
Finds an existing StyleGroup with given selector and appends [comma selector] to its selector.
Sets image filters (visual effects, like blur and saturation)
Sets the length of the item, relative to the rest
Sets the initial length of a flexible item
Sets the direction of the flexible items
A shorthand property for the flexDirection and the flexWrap properties
Sets how much the item will grow relative to the rest
Sets how the item will shrink relative to the rest
Sets whether the flexible items should wrap or not
Sets fontStyle, fontVariant, fontWeight, fontSize, lineHeight, and fontFamily in one declaration
Sets the font family for text
Sets the font size of the text
Preserves the readability of text when font fallback occurs
Selects a normal, condensed, or expanded face from a font family
Sets whether the style of the font is normal, italic or oblique
Sets whether the font should be displayed in small capital letters
Sets the boldness of the font
Specifies whether a punctuation character may be placed outside the line box
Sets the height of an element
Sets how to split words to improve the layout of paragraphs
Provides the author the ability to style an element with an iconic equivalent
Specifies a rotation in the right or clockwise direction that a user agent applies to an image
Reports true if both styleList and transform are empty.
Sets the alignment between the items inside a flexible container when the items do not use all available space.
Sets the left position of a positioned element
Synonym for add. Adds given style to this StyleGroup.
Synonymous to add. Adds all styles from given StyleGroup to this StyleGroup.
Sets the space between characters in a text
Sets the distance between lines in a text
Sets listStyleImage, listStylePosition, and listStyleType in one declaration
Sets an image as the list-item marker
Sets the position of the list-item marker
Sets the list-item marker type
Sets the margins of an element (can have up to four values)
Sets the bottom margin of an element
Sets the left margin of an element
Sets the right margin of an element
Sets the top margin of an element
Defines a 2D transformation, using a matrix of six values.
Defines a 3D transformation, using a 4x4 matrix of 16 values.
Sets the maximum height of an element
Sets the maximum width of an element
Sets the minimum height of an element
Sets the minimum width of an element
Creates a new StyleGroup with all styles from given StyleGroup removed.
Sets where to navigate when using the arrow-down navigation key
Sets the tabbing order for an element
Sets where to navigate when using the arrow-left navigation key
Sets where to navigate when using the arrow-right navigation key
Sets where to navigate when using the arrow-up navigation key
Sets the opacity level for an element
Sets the order of the flexible item, relative to the rest
Sets the minimum number of lines for an element that must be left at the bottom of a page when a page break occurs inside an element
Sets all the outline properties in one declaration
Sets the color of the outline around a element
Offsets an outline, and draws it beyond the border edge
Sets the style of the outline around an element
Sets the width of the outline around an element
Sets what to do with content that renders outside the element box
Specifies what to do with the left/right edges of the content, if it overflows the element's content area
Specifies what to do with the top/bottom edges of the content, if it overflows the element's content area
Sets the padding of an element (can have up to four values)
Sets the bottom padding of an element
Sets the left padding of an element
Sets the right padding of an element
Sets the top padding of an element
Sets the page-break behavior after an element
Sets the page-break behavior before an element
Sets the page-break behavior inside an element
Sets the perspective on how 3D elements are viewed
Sets the bottom position of 3D elements
Creates a new StyleGroup with all styles from given StyleGroup and this StyleGroup.
Sets the type of positioning method used for an element (static, relative, absolute or fixed)
Sets the type of quotation marks for embedded quotations
Sets whether or not an element is resizable by the user
Sets the right position of a positioned element
Defines a 2D rotation, the angle is specified in the parameter.
Defines a 3D rotation.
Defines a 3D rotation along the X-axis.
Defines a 3D rotation along the Y-axis.
Defines a 3D rotation along the Z-axis.
Defines a 2D scale transformation.
Defines a 3D scale transformation.
Defines a scale transformation by giving a value for the X-axis.
Defines a scale transformation by giving a value for the Y-axis.
Defines a 3D scale transformation by giving a value for the Z-axis.
Defines a 2D skew transformation along the X- and the Y-axis.
Defines a 2D skew transformation along the X-axis.
Defines a 2D skew transformation along the Y-axis.
Appends the given text to the selector.
Sets the length of the tab-character
Sets the way to lay out table cells, rows, and columns
Sets the horizontal alignment of text
Sets how the last line of a block or a line right before a forced line break is aligned when text-align is ""justify""
Sets the decoration of a text
Sets the color of the text-decoration
Sets the type of line in a text-decoration
Sets the style of the line in a text decoration
Sets the indentation of the first line of text
Sets the justification method used when text-align is ""justify""
Sets what should happen when text overflows the containing element
Sets the shadow effect of a text
Sets the capitalization of a text
Sets the top position of a positioned element
Applies a 2D or 3D transformation to an element
Sets the position of transformed elements
Sets how nested elements are rendered in 3D space
A shorthand property for setting or returning the four transition properties
A DSL for creating a Transition with a single closure defining a transition value.
A DSL for creating a Transition with more than one closure.
Sets when the transition effect will start
Sets how many seconds or milliseconds a transition effect takes to complete
Sets the CSS property that the transition effect is for
Sets the speed curve of the transition effect
Defines a 2D translation.
Defines a 3D translation.
Defines a translation, using only the value for the X-axis.
Defines a translation, using only the value for the Y-axis.
Defines a 3D translation, using only the value for the Z-axis.
Sets whether the text should be overridden to support multiple languages in the same document
Sets the vertical alignment of the content in an element
Sets whether an element should be visible
Sets how to handle tabs, line breaks and whitespace in a text
Sets the minimum number of lines for an element that must be visible at the top of a page
Sets the width of an element
Sets line breaking rules for non-CJK scripts
Sets the spacing between words in a text
Allows long, unbreakable words to be broken and wrap to the next line
Sets the stack order of a positioned element
Groovy Documentation