-
public final class GetBackgroundColorsResponseResponse type for the CSSDomain.getBackgroundColors command.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<String>backgroundColorsprivate final StringcomputedFontSizeprivate final StringcomputedFontWeight
-
Constructor Summary
Constructors Constructor Description GetBackgroundColorsResponse(List<String> backgroundColors, String computedFontSize, String computedFontWeight)
-
Method Summary
Modifier and Type Method Description final List<String>component1()final Stringcomponent2()final Stringcomponent3()final GetBackgroundColorsResponsecopy(List<String> backgroundColors, String computedFontSize, String computedFontWeight)final List<String>getBackgroundColors()The range of background colors behind this element, if it contains any visible text. final StringgetComputedFontSize()The computed font size for this node, as a CSS computed value string (e.g. final StringgetComputedFontWeight()The computed font weight for this node, as a CSS computed value string (e.g. -
-
Method Detail
-
component1
final List<String> component1()
-
component2
final String component2()
-
component3
final String component3()
-
copy
final GetBackgroundColorsResponse copy(List<String> backgroundColors, String computedFontSize, String computedFontWeight)
-
getBackgroundColors
final List<String> getBackgroundColors()
The range of background colors behind this element, if it contains any visible text. If no visible text is present, this will be undefined. In the case of a flat background color, this will consist of simply that color. In the case of a gradient, this will consist of each of the color stops. For anything more complicated, this will be an empty array. Images will be ignored (as if the image had failed to load).
-
getComputedFontSize
final String getComputedFontSize()
The computed font size for this node, as a CSS computed value string (e.g. '12px').
-
getComputedFontWeight
final String getComputedFontWeight()
The computed font weight for this node, as a CSS computed value string (e.g. 'normal' or '100').
-
-
-
-