struct Protocol::LayerTree::PictureTile

Overview

Serialized fragment of layer picture along with its offset within the layer.

Included Modules

Defined in:

protocol/layer_tree.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def picture : String #

Base64-encoded snapshot data. (Encoded as a base64 string when passed over JSON)


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

Offset from owning layer left boundary


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

Offset from owning layer top boundary


[View source]