class

OpenAI::DragPoint

Inherits JSON::Serializable < Reference < Object

An x/y coordinate pair, e.g. { x: 100, y: 200 }.

Constructors

new(x : Int64 = 0, y : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

x

The x-coordinate.

Source
x=(x : Int64)

The x-coordinate.

Source
y

The y-coordinate.

Source
y=(y : Int64)

The y-coordinate.

Source