struct Protocol::DOM::Rect

Overview

Rectangle.

Included Modules

Defined in:

protocol/dom.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def height : Number::Primitive #

Rectangle height


[View source]
def width : Number::Primitive #

Rectangle width


[View source]
def x : Number::Primitive #

X coordinate


[View source]
def y : Number::Primitive #

Y coordinate


[View source]