struct TextAPI

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 text : String #

[View source]
def text=(text : String) #

[View source]
def x : Int32 #

[View source]
def x=(x : Int32) #

[View source]
def y : Int32 #

[View source]
def y=(y : Int32) #

[View source]