Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ellipse ¶
type Ellipse struct {
// contains filtered or unexported fields
}
func NewEllipse ¶
func (Ellipse) GetHorizontalRadius ¶
func (Ellipse) GetVerticalRadius ¶
type Rectangle ¶
type Rectangle struct {
// contains filtered or unexported fields
}
func NewRectangle ¶
func (Rectangle) GetLeftTop ¶
func (Rectangle) GetRightBottom ¶
type RegularPolygon ¶
type RegularPolygon struct {
// contains filtered or unexported fields
}
func NewRegularPolygon ¶
func (RegularPolygon) Draw ¶
func (rp RegularPolygon) Draw(canvas canvas.Canvas)
func (RegularPolygon) GetCenter ¶
func (rp RegularPolygon) GetCenter() point.Point
func (RegularPolygon) GetRadius ¶
func (rp RegularPolygon) GetRadius() float64
func (RegularPolygon) GetVerticesCount ¶
func (rp RegularPolygon) GetVerticesCount() uint
func (RegularPolygon) String ¶
func (rp RegularPolygon) String() string
type Triangle ¶
type Triangle struct {
// contains filtered or unexported fields
}
func (Triangle) GetVertexA ¶
func (Triangle) GetVertexB ¶
func (Triangle) GetVertexC ¶
Click to show internal directories.
Click to hide internal directories.