struct LineAPI

Defined in:

json_api.cr

Constructors

Instance Method Summary

Instance methods inherited from struct ElementAPI

add_to_context(ctx : Chitra::Context) add_to_context, type : String type, type=(type : String) type=

Constructor methods inherited from struct ElementAPI

new(pull : JSON::PullParser) new

Constructor Detail

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

[View source]

Instance Method Detail

def add_to_context(ctx) #

[View source]
def x1 : Float64 #

[View source]
def x1=(x1 : Float64) #

[View source]
def x2 : Float64 #

[View source]
def x2=(x2 : Float64) #

[View source]
def y1 : Float64 #

[View source]
def y1=(y1 : Float64) #

[View source]
def y2 : Float64 #

[View source]
def y2=(y2 : Float64) #

[View source]