View definition

(*Path).AddRectangle

Defined in github.com/andlabs/ui/draw.go

Description

AddRectangle creates a new figure in the Path that consists entirely of a rectangle whose top-left corner is at the given point and whose size is the given size. The rectangle is a closed figure; you must either start a new figure or end the Path after calling this method.

AddRectangle is referenced in 0 repositories