gg/size.go

12 lines
243 B
Go

package gg
// The type describes a simple
// rectangle without transformations.
type Size struct {
// The upper left corner position point.
Position Point
// Absolute width and height.
Width, Height Float
}
//type (s Size) ContainsPoint