Documentation
¶
Index ¶
- func NewFrame(rect rect.Rect) *frame
- func NewStyles() *styles
- type Ellipse
- type Group
- type Rectangle
- type Shape
- type Triangle
- func (t *Triangle) Draw(c canvas.Canvas)
- func (s *Triangle) GetFillStyle() style.FillStyle
- func (f *Triangle) GetFrame() *rect.Rect
- func (Triangle) GetGroup() Group
- func (s *Triangle) GetLineStyle() style.LineStyle
- func (t *Triangle) GetVertex(index uint) point.Point
- func (f *Triangle) SetFrame(frame rect.Rect)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ellipse ¶
type Ellipse struct {
// contains filtered or unexported fields
}
func (*Ellipse) GetFillStyle ¶
func (*Ellipse) GetLineStyle ¶
type Group ¶
type Rectangle ¶
type Rectangle struct {
// contains filtered or unexported fields
}
func (*Rectangle) GetFillStyle ¶
func (*Rectangle) GetLineStyle ¶
type Shape ¶
type Shape interface { GetFrame() *rect.Rect SetFrame(rect.Rect) GetLineStyle() style.LineStyle GetFillStyle() style.FillStyle GetGroup() Group Draw(canvas canvas.Canvas) }
func NewEllipse ¶
func NewRectangle ¶
func NewTriangle ¶
type Triangle ¶
type Triangle struct {
// contains filtered or unexported fields
}
func (*Triangle) GetFillStyle ¶
func (*Triangle) GetLineStyle ¶
Click to show internal directories.
Click to hide internal directories.