Class BetaBrowserZoomInput
-
- All Implemented Interfaces:
public final class BetaBrowserZoomInputReturn 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 classBetaBrowserZoomInput.BuilderA builder for BetaBrowserZoomInput.
-
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 BetaBrowserZoomInput.BuildertoBuilder()final BetaBrowserZoomInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaBrowserZoomInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaBrowserZoomInput. final static BetaBrowserZoomInputof(List<Long> region)Returns an immutable instance of BetaBrowserZoomInput 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 BetaBrowserZoomInput.Builder toBuilder()
-
validate
final BetaBrowserZoomInput 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 BetaBrowserZoomInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaBrowserZoomInput.
The following fields are required:
.region()
-
of
final static BetaBrowserZoomInput of(List<Long> region)
Returns an immutable instance of BetaBrowserZoomInput with the required region set to the given value.
-
-
-
-