Class BrowserZoomInput
-
- All Implemented Interfaces:
public final class BrowserZoomInputReturn a cropped screenshot of the given viewport region, scaled up for closer inspection — useful for small icons, buttons, or text. Coordinates are in the same viewport-pixel space as a full screenshot.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserZoomInput.BuilderA builder for BrowserZoomInput.
-
Method Summary
Modifier and Type Method Description final List<Long>region()x0, y0, x1, y1 in viewport pixels. final Optional<String>tabId()Tab to act on. final JsonField<List<Long>>_region()Returns the raw JSON value of region. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BrowserZoomInput.BuildertoBuilder()final BrowserZoomInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserZoomInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserZoomInput. final static BrowserZoomInputof(List<Long> region)Returns an immutable instance of BrowserZoomInput with the required region set to the given value. -
-
Method Detail
-
_region
final JsonField<List<Long>> _region()
Returns the raw JSON value of region.
Unlike region, this method doesn't throw if the JSON field has an unexpected type.
-
_tabId
final JsonField<String> _tabId()
Returns the raw JSON value of tabId.
Unlike tabId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BrowserZoomInput.Builder toBuilder()
-
validate
final BrowserZoomInput validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BrowserZoomInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserZoomInput.
The following fields are required:
.region()
-
of
final static BrowserZoomInput of(List<Long> region)
Returns an immutable instance of BrowserZoomInput with the required region set to the given value.
-
-
-
-