Rectangle is a basic rectangular form; the dimensions are controlled via the `SpaceComponent`.
| 43 | |
| 44 | // Rectangle is a basic rectangular form; the dimensions are controlled via the `SpaceComponent`. |
| 45 | type Rectangle struct { |
| 46 | BorderWidth float32 |
| 47 | BorderColor color.Color |
| 48 | } |
| 49 | |
| 50 | // Texture always returns nil. Rectangle is drawable without a Texture. This implements the Drawable interface. |
| 51 | func (Rectangle) Texture() *gl.Texture { return nil } |
nothing calls this directly
no outgoing calls
no test coverage detected