Documentation ¶
Overview ¶
Package vector provides functions for vector graphics rendering.
This package is under experiments and the API might be changed with breaking backward compatibility.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FillOptions ¶
FillOptions represents options to fill a path.
type Path ¶
type Path struct {
// contains filtered or unexported fields
}
Path represents a collection of path segments.
func (*Path) Fill ¶
func (p *Path) Fill(dst *ebiten.Image, op *FillOptions)
Fill fills the region of the path with the given options op.
func (*Path) LineTo ¶
LineTo adds a line segument to the path, which starts from the current position and ends to the given position (x, y).
LineTo updates the current position to (x, y).
Click to show internal directories.
Click to hide internal directories.