gg/size.go

13 lines
243 B
Go
Raw Normal View History

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