Documentation ¶
Index ¶
- type Path
- func (p *Path) Circle(center la.Vec2, radius float64)
- func (p *Path) DashSector(center la.Vec2, cntDash, totalDash uint, radius, startAngle, ratio float64)
- func (p *Path) Draw(dst draw.Image, style *Style)
- func (p *Path) DrawEx(dst draw.Image, mat canvas.Matrix, style *Style)
- func (p *Path) Line(from la.Vec2, to la.Vec2)
- func (p *Path) LineTo(point la.Vec2)
- func (p *Path) MoveTo(point la.Vec2)
- func (p *Path) Sector(center la.Vec2, radius, startAngle, lenAngle float64)
- type Style
- func (s *Style) SetColorSpace(cs canvas.ColorSpace)
- func (s *Style) SetDashes(offset float64, dashes ...float64)
- func (s *Style) SetFillColor(clr color.Color)
- func (s *Style) SetStrokeCapper(capper canvas.Capper)
- func (s *Style) SetStrokeColor(clr color.Color)
- func (s *Style) SetStrokeJoiner(joiner canvas.Joiner)
- func (s *Style) SetStrokeWidth(width float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Path ¶
type Path struct {
// contains filtered or unexported fields
}
type Style ¶
type Style struct {
// contains filtered or unexported fields
}
func (*Style) SetColorSpace ¶
func (s *Style) SetColorSpace(cs canvas.ColorSpace)
func (*Style) SetFillColor ¶
func (*Style) SetStrokeCapper ¶
func (*Style) SetStrokeColor ¶
func (*Style) SetStrokeJoiner ¶
func (*Style) SetStrokeWidth ¶
Click to show internal directories.
Click to hide internal directories.