Package com.google.genai.types
Class ScribbleImage
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ScribbleImage
An image mask representing a brush scribble.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScribbleImage.Builderbuilder()Instantiates a builder for ScribbleImage.static ScribbleImageDeserializes a JSON string to a ScribbleImage object.image()The brush scribble to guide segmentation.abstract ScribbleImage.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
ScribbleImage
public ScribbleImage()
-
-
Method Details
-
image
The brush scribble to guide segmentation. Valid for the interactive mode. -
builder
Instantiates a builder for ScribbleImage. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ScribbleImage object.
-