Documentation ¶
Index ¶
Constants ¶
View Source
const ( PointOutOfBound = Error("point out of bound") ObjectTooLarge = Error("object too large") BadPattern = Error("the drawing pattern is invalid") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Canvas ¶
type Canvas struct { Name string `json:"name,omitempty"` Width uint `json:"width"` Height uint `json:"height"` Data []byte `json:"data,omitempty"` }
func (*Canvas) MarshalBinary ¶
type Point ¶
func (*Point) MarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.