Documentation ¶
Index ¶
- func NewLinearGradient(x0, y0, x1, y1 float64) _ae.Gradient
- func NewRadialGradient(x0, y0, r0, x1, y1, r1 float64) _ae.Gradient
- type Context
- func (_ebab *Context) AsMask() *_e.Alpha
- func (_bac *Context) Clear()
- func (_cca *Context) ClearPath()
- func (_deg *Context) Clip()
- func (_afa *Context) ClipPreserve()
- func (_cec *Context) ClosePath()
- func (_fgb *Context) CubicTo(x1, y1, x2, y2, x3, y3 float64)
- func (_gcc *Context) DrawArc(x, y, r, angle1, angle2 float64)
- func (_dda *Context) DrawCircle(x, y, r float64)
- func (_gbeg *Context) DrawEllipse(x, y, rx, ry float64)
- func (_bfb *Context) DrawEllipticalArc(x, y, rx, ry, angle1, angle2 float64)
- func (_aba *Context) DrawImage(im _e.Image, x, y int)
- func (_eda *Context) DrawImageAnchored(im _e.Image, x, y int, ax, ay float64)
- func (_cag *Context) DrawLine(x1, y1, x2, y2 float64)
- func (_efba *Context) DrawPoint(x, y, r float64)
- func (_baa *Context) DrawRectangle(x, y, w, h float64)
- func (_ffd *Context) DrawRoundedRectangle(x, y, w, h, r float64)
- func (_aga *Context) DrawString(s string, face _f.Face, x, y float64)
- func (_cff *Context) DrawStringAnchored(s string, face _f.Face, x, y, ax, ay float64)
- func (_ebg *Context) Fill()
- func (_bed *Context) FillPattern() _ae.Pattern
- func (_deca *Context) FillPreserve()
- func (_abbf *Context) Height() int
- func (_eaed *Context) Identity()
- func (_gde *Context) Image() _e.Image
- func (_ccab *Context) InvertMask()
- func (_ced *Context) LineTo(x, y float64)
- func (_cge *Context) LineWidth() float64
- func (_efa *Context) Matrix() _g.Matrix
- func (_cgeg *Context) MeasureString(s string, face _f.Face) (_gff, _gdc float64)
- func (_gdd *Context) MoveTo(x, y float64)
- func (_eb *Context) NewSubPath()
- func (_gaeg *Context) Pop()
- func (_dcf *Context) Push()
- func (_afb *Context) QuadraticTo(x1, y1, x2, y2 float64)
- func (_cad *Context) ResetClip()
- func (_ccc *Context) Rotate(angle float64)
- func (_dgc *Context) RotateAbout(angle, x, y float64)
- func (_eagd *Context) Scale(x, y float64)
- func (_cegd *Context) ScaleAbout(sx, sy, x, y float64)
- func (_bdb *Context) SetColor(c _dd.Color)
- func (_agf *Context) SetDash(dashes ...float64)
- func (_dec *Context) SetDashOffset(offset float64)
- func (_ddgd *Context) SetFillRGBA(r, g, b, a float64)
- func (_cbe *Context) SetFillRule(fillRule _ae.FillRule)
- func (_cce *Context) SetFillStyle(pattern _ae.Pattern)
- func (_gcbg *Context) SetHexColor(x string)
- func (_aac *Context) SetLineCap(lineCap _ae.LineCap)
- func (_dg *Context) SetLineJoin(lineJoin _ae.LineJoin)
- func (_feb *Context) SetLineWidth(lineWidth float64)
- func (_bfc *Context) SetMask(mask *_e.Alpha) error
- func (_bbe *Context) SetMatrix(m _g.Matrix)
- func (_ecg *Context) SetPixel(x, y int)
- func (_dbg *Context) SetRGB(r, g, b float64)
- func (_febf *Context) SetRGB255(r, g, b int)
- func (_fb *Context) SetRGBA(r, g, b, a float64)
- func (_bbf *Context) SetRGBA255(r, g, b, a int)
- func (_cbeb *Context) SetStrokeRGBA(r, g, b, a float64)
- func (_bcc *Context) SetStrokeStyle(pattern _ae.Pattern)
- func (_cedg *Context) Shear(x, y float64)
- func (_cgec *Context) ShearAbout(sx, sy, x, y float64)
- func (_gddb *Context) Stroke()
- func (_gdf *Context) StrokePattern() _ae.Pattern
- func (_dbag *Context) StrokePreserve()
- func (_faa *Context) TextState() *_ae.TextState
- func (_bfab *Context) Transform(x, y float64) (_dbbe, _afc float64)
- func (_afbg *Context) Translate(x, y float64)
- func (_ba *Context) Width() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLinearGradient ¶
func NewRadialGradient ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
func NewContextForImage ¶
func NewContextForRGBA ¶
func (*Context) ClipPreserve ¶
func (_afa *Context) ClipPreserve()
func (*Context) DrawCircle ¶
func (*Context) DrawEllipse ¶
func (*Context) DrawEllipticalArc ¶
func (*Context) DrawImageAnchored ¶
func (*Context) DrawRectangle ¶
func (*Context) DrawRoundedRectangle ¶
func (*Context) DrawStringAnchored ¶
func (*Context) FillPattern ¶
func (*Context) FillPreserve ¶
func (_deca *Context) FillPreserve()
func (*Context) InvertMask ¶
func (_ccab *Context) InvertMask()
func (*Context) MeasureString ¶
func (*Context) NewSubPath ¶
func (_eb *Context) NewSubPath()
func (*Context) QuadraticTo ¶
func (*Context) RotateAbout ¶
func (*Context) ScaleAbout ¶
func (*Context) SetDashOffset ¶
func (*Context) SetFillRGBA ¶
func (*Context) SetFillRule ¶
func (*Context) SetFillStyle ¶
func (*Context) SetHexColor ¶
func (*Context) SetLineCap ¶
func (*Context) SetLineJoin ¶
func (*Context) SetLineWidth ¶
func (*Context) SetRGBA255 ¶
func (*Context) SetStrokeRGBA ¶
func (*Context) SetStrokeStyle ¶
func (*Context) ShearAbout ¶
func (*Context) StrokePattern ¶
func (*Context) StrokePreserve ¶
func (_dbag *Context) StrokePreserve()
Click to show internal directories.
Click to hide internal directories.