gvc

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetFontLoader

func SetFontLoader(loader FontLoader)

Types

type Box

type Box struct {
	// contains filtered or unexported fields
}

func (*Box) LL

func (b *Box) LL() *Point

func (*Box) SetLL

func (b *Box) SetLL(v *Point)

func (*Box) SetUR

func (b *Box) SetUR(v *Point)

func (*Box) UR

func (b *Box) UR() *Point

type BoxFloat

type BoxFloat struct {
	// contains filtered or unexported fields
}

func (*BoxFloat) LL

func (f *BoxFloat) LL() *PointFloat

func (*BoxFloat) SetLL

func (f *BoxFloat) SetLL(v *PointFloat)

func (*BoxFloat) SetUR

func (f *BoxFloat) SetUR(v *PointFloat)

func (*BoxFloat) UR

func (f *BoxFloat) UR() *PointFloat

type Color

type Color struct {
	// contains filtered or unexported fields
}

func (*Color) HSVA

func (c *Color) HSVA() [4]float64

func (*Color) Index

func (c *Color) Index() int

func (*Color) RGBADouble

func (c *Color) RGBADouble() [4]float64

func (*Color) RGBAInt

func (c *Color) RGBAInt() [4]int

func (*Color) RGBAUint

func (c *Color) RGBAUint() [4]uint

func (*Color) SetHSVA

func (c *Color) SetHSVA(v [4]float64)

func (*Color) SetIndex

func (c *Color) SetIndex(v int)

func (*Color) SetRGBADouble

func (c *Color) SetRGBADouble(v [4]float64)

func (*Color) SetRGBAInt

func (c *Color) SetRGBAInt(v [4]int)

func (*Color) SetRGBAUint

func (c *Color) SetRGBAUint(v [4]uint)

func (*Color) SetString

func (c *Color) SetString(v string)

func (*Color) SetType

func (c *Color) SetType(v ColorType)

func (*Color) String

func (c *Color) String() string

func (*Color) Type

func (c *Color) Type() ColorType

type Context

type Context struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context) (*Context, error)

func NewWithPlugins

func NewWithPlugins(ctx context.Context, plugins ...Plugin) (*Context, error)

func (*Context) Clone

func (c *Context) Clone(ctx context.Context) (*Context, error)

func (*Context) Close

func (c *Context) Close() error

func (*Context) FreeClonedContext

func (c *Context) FreeClonedContext(ctx context.Context) error

func (*Context) FreeLayout

func (c *Context) FreeLayout(ctx context.Context, g *cgraph.Graph) error

func (*Context) Layout

func (c *Context) Layout(ctx context.Context, g *cgraph.Graph, engine string) error

func (*Context) RenderData

func (c *Context) RenderData(ctx context.Context, g *cgraph.Graph, format string, w io.Writer) error

func (*Context) RenderFilename

func (c *Context) RenderFilename(ctx context.Context, g *cgraph.Graph, format, filename string) error

func (*Context) RenderImage

func (c *Context) RenderImage(ctx context.Context, g *cgraph.Graph, format string) (image.Image, error)

type DefaultLoadImageEngine

type DefaultLoadImageEngine struct{}

type DefaultRenderEngine

type DefaultRenderEngine struct{}

func (*DefaultRenderEngine) BeginAnchor

func (e *DefaultRenderEngine) BeginAnchor(_ context.Context, _ *Job, _, _, _, _ string) error

func (*DefaultRenderEngine) BeginCluster

func (e *DefaultRenderEngine) BeginCluster(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) BeginEdge

func (e *DefaultRenderEngine) BeginEdge(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) BeginEdges

func (e *DefaultRenderEngine) BeginEdges(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) BeginGraph

func (e *DefaultRenderEngine) BeginGraph(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) BeginJob

func (e *DefaultRenderEngine) BeginJob(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) BeginLabel

func (e *DefaultRenderEngine) BeginLabel(_ context.Context, _ *Job, _ LabelType) error

func (*DefaultRenderEngine) BeginLayer

func (e *DefaultRenderEngine) BeginLayer(_ context.Context, _ *Job, layerName string, layerNum, numLayers int) error

func (*DefaultRenderEngine) BeginNode

func (e *DefaultRenderEngine) BeginNode(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) BeginNodes

func (e *DefaultRenderEngine) BeginNodes(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) BeginPage

func (e *DefaultRenderEngine) BeginPage(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) BezierCurve

func (e *DefaultRenderEngine) BezierCurve(_ context.Context, _ *Job, _ []*PointFloat, _ bool) error

func (*DefaultRenderEngine) Comment

func (e *DefaultRenderEngine) Comment(_ context.Context, _ *Job, _ string) error

func (*DefaultRenderEngine) Ellipse

func (e *DefaultRenderEngine) Ellipse(_ context.Context, _ *Job, _ []*PointFloat, _ bool) error

func (*DefaultRenderEngine) EndAnchor

func (e *DefaultRenderEngine) EndAnchor(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) EndCluster

func (e *DefaultRenderEngine) EndCluster(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) EndEdge

func (e *DefaultRenderEngine) EndEdge(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) EndEdges

func (e *DefaultRenderEngine) EndEdges(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) EndGraph

func (e *DefaultRenderEngine) EndGraph(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) EndJob

func (e *DefaultRenderEngine) EndJob(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) EndLabel

func (e *DefaultRenderEngine) EndLabel(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) EndLayer

func (e *DefaultRenderEngine) EndLayer(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) EndNode

func (e *DefaultRenderEngine) EndNode(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) EndNodes

func (e *DefaultRenderEngine) EndNodes(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) EndPage

func (e *DefaultRenderEngine) EndPage(_ context.Context, _ *Job) error

func (*DefaultRenderEngine) LibraryShape

func (e *DefaultRenderEngine) LibraryShape(_ context.Context, _ *Job, _ string, _ []*PointFloat, _ bool) error

func (*DefaultRenderEngine) LoadImage

func (e *DefaultRenderEngine) LoadImage(_ context.Context, _ *Job, _ *UserShape, _ *BoxFloat, _ bool) error

func (*DefaultRenderEngine) Polygon

func (e *DefaultRenderEngine) Polygon(_ context.Context, _ *Job, _ []*PointFloat, _ bool) error

func (*DefaultRenderEngine) Polyline

func (e *DefaultRenderEngine) Polyline(_ context.Context, _ *Job, _ []*PointFloat) error

func (*DefaultRenderEngine) ResolveColor

func (e *DefaultRenderEngine) ResolveColor(_ context.Context, _ *Job, _ *Color) error

func (*DefaultRenderEngine) TextSpan

func (e *DefaultRenderEngine) TextSpan(_ context.Context, _ *Job, _ *PointFloat, _ *TextSpan) error

type DevicePlugin

type DevicePlugin struct {
	// contains filtered or unexported fields
}

func JPGDevicePlugin

func JPGDevicePlugin(ctx context.Context) (*DevicePlugin, error)

func NewDevicePlugin

func NewDevicePlugin(ctx context.Context, typ string, opts ...DevicePluginOption) (*DevicePlugin, error)

func PNGDevicePlugin

func PNGDevicePlugin(ctx context.Context) (*DevicePlugin, error)

type DevicePluginOption

type DevicePluginOption func(*deviceConfig)

func WithDeviceDPI

func WithDeviceDPI(x, y float64) DevicePluginOption

func WithDeviceFeatures

func WithDeviceFeatures(features ...DeviceFeature) DevicePluginOption

func WithDeviceQuality

func WithDeviceQuality(quality int) DevicePluginOption

type FillType

type FillType int64

type FontLoader

type FontLoader func(ctx context.Context, job *Job, font *TextFont) (font.Face, error)

type ImageRenderer

type ImageRenderer struct {
	*DefaultRenderEngine
	// contains filtered or unexported fields
}

func (*ImageRenderer) BeginPage

func (r *ImageRenderer) BeginPage(ctx context.Context, job *Job) error

func (*ImageRenderer) BezierCurve

func (r *ImageRenderer) BezierCurve(ctx context.Context, job *Job, a []*PointFloat, filled bool) error

func (*ImageRenderer) Ellipse

func (r *ImageRenderer) Ellipse(ctx context.Context, job *Job, p []*PointFloat, filled bool) error

func (*ImageRenderer) EndPage

func (r *ImageRenderer) EndPage(ctx context.Context, job *Job) error

func (*ImageRenderer) LoadImage

func (r *ImageRenderer) LoadImage(ctx context.Context, job *Job, shape *UserShape, bf *BoxFloat, filled bool) error

func (*ImageRenderer) Polygon

func (r *ImageRenderer) Polygon(ctx context.Context, job *Job, a []*PointFloat, filled bool) error

func (*ImageRenderer) Polyline

func (r *ImageRenderer) Polyline(ctx context.Context, job *Job, a []*PointFloat) error

func (*ImageRenderer) TextSpan

func (r *ImageRenderer) TextSpan(ctx context.Context, job *Job, p *PointFloat, span *TextSpan) error

type Job

type Job struct {
	// contains filtered or unexported fields
}

func (*Job) DPI

func (j *Job) DPI() *PointFloat

func (*Job) ExternalContext

func (j *Job) ExternalContext() bool

func (*Job) Height

func (j *Job) Height() uint64

func (*Job) Object

func (j *Job) Object() *ObjectState

func (*Job) OutputData

func (j *Job) OutputData() []byte

func (*Job) OutputDataPosition

func (j *Job) OutputDataPosition() uint

func (*Job) OutputFileName

func (j *Job) OutputFileName() string

func (*Job) OutputLangName

func (j *Job) OutputLangName() string

func (*Job) Scale

func (j *Job) Scale() *Scale

func (*Job) SetDPI

func (j *Job) SetDPI(v *PointFloat)

func (*Job) SetHeight

func (j *Job) SetHeight(v uint64)

func (*Job) SetOutputData

func (j *Job) SetOutputData(v []byte)

func (*Job) SetOutputDataPosition

func (j *Job) SetOutputDataPosition(v uint)

func (*Job) SetOutputFileName

func (j *Job) SetOutputFileName(v string)

func (*Job) SetOutputLangName

func (j *Job) SetOutputLangName(v string)

func (*Job) SetScale

func (j *Job) SetScale(v *Scale)

func (*Job) SetTranslation

func (j *Job) SetTranslation(v *Translation)

func (*Job) SetWidth

func (j *Job) SetWidth(v uint64)

func (*Job) SetZoom

func (j *Job) SetZoom(v float64)

func (*Job) Translation

func (j *Job) Translation() *Translation

func (*Job) Width

func (j *Job) Width() uint64

func (*Job) Zoom

func (j *Job) Zoom() float64

type LabelType

type LabelType int
var (
	LabelPlain LabelType = LabelType(wasm.LABEL_PLAIN)
	LabelHTML  LabelType = LabelType(wasm.LABEL_HTML)
)

type LoadImageEngine

type LoadImageEngine interface {
	LoadImage(ctx context.Context, job *Job, shape *UserShape, bf *BoxFloat, filled bool) error
}

type LoadImagePlugin

type LoadImagePlugin struct {
	// contains filtered or unexported fields
}

func NewLoadImagePlugin

func NewLoadImagePlugin(ctx context.Context, typ string, engine LoadImageEngine) (*LoadImagePlugin, error)

func PNGLoadImagePlugin

func PNGLoadImagePlugin(ctx context.Context, engine LoadImageEngine) (*LoadImagePlugin, error)

type ObjectState

type ObjectState struct {
	// contains filtered or unexported fields
}

func (*ObjectState) Edge

func (s *ObjectState) Edge() *cgraph.Edge

func (*ObjectState) Fill

func (s *ObjectState) Fill() FillType

func (*ObjectState) FillColor

func (s *ObjectState) FillColor() *Color

func (*ObjectState) Graph

func (s *ObjectState) Graph() *cgraph.Graph

func (*ObjectState) Node

func (s *ObjectState) Node() *cgraph.Node

func (*ObjectState) Pen

func (s *ObjectState) Pen() PenType

func (*ObjectState) PenColor

func (s *ObjectState) PenColor() *Color

func (*ObjectState) PenWidth

func (s *ObjectState) PenWidth() float64

func (*ObjectState) RawStyle

func (s *ObjectState) RawStyle() []string

func (*ObjectState) SetFill

func (s *ObjectState) SetFill(v FillType)

func (*ObjectState) SetFillColor

func (s *ObjectState) SetFillColor(v *Color)

func (*ObjectState) SetPen

func (s *ObjectState) SetPen(v PenType)

func (*ObjectState) SetPenColor

func (s *ObjectState) SetPenColor(v *Color)

func (*ObjectState) SetPenWidth

func (s *ObjectState) SetPenWidth(v float64)

func (*ObjectState) SetType

func (s *ObjectState) SetType(v ObjectType)

func (*ObjectState) StopColor

func (s *ObjectState) StopColor() *Color

func (*ObjectState) Type

func (s *ObjectState) Type() ObjectType

type ObjectType

type ObjectType int
var (
	RootGraphObjectType ObjectType = ObjectType(wasm.ROOTGRAPH_OBJTYPE)
	ClusterObjectType   ObjectType = ObjectType(wasm.CLUSTER_OBJTYPE)
	NodeObjectType      ObjectType = ObjectType(wasm.NODE_OBJTYPE)
	EdgeObjectType      ObjectType = ObjectType(wasm.EDGE_OBJTYPE)
)

type PenType

type PenType int64
var (
	PenNone   PenType = PenType(wasm.PEN_NONE)
	PenDashed PenType = PenType(wasm.PEN_DASHED)
	PenDotted PenType = PenType(wasm.PEN_DOTTED)
	PenSolid  PenType = PenType(wasm.PEN_SOLID)
)

type Plugin

type Plugin interface {
	// contains filtered or unexported methods
}

func DefaultPlugins

func DefaultPlugins(ctx context.Context) ([]Plugin, error)

type Point

type Point struct {
	// contains filtered or unexported fields
}

func (*Point) SetX

func (p *Point) SetX(x int)

func (*Point) SetY

func (p *Point) SetY(y int)

func (*Point) X

func (p *Point) X() int

func (*Point) Y

func (p *Point) Y() int

type PointFloat

type PointFloat struct {
	// contains filtered or unexported fields
}

func (*PointFloat) SetX

func (p *PointFloat) SetX(x float64)

func (*PointFloat) SetY

func (p *PointFloat) SetY(y float64)

func (*PointFloat) X

func (p *PointFloat) X() float64

func (*PointFloat) Y

func (p *PointFloat) Y() float64

type PostScriptAlias

type PostScriptAlias struct {
	// contains filtered or unexported fields
}

func (*PostScriptAlias) Family

func (s *PostScriptAlias) Family() string

func (*PostScriptAlias) Name

func (s *PostScriptAlias) Name() string

func (*PostScriptAlias) SVGFontFamily

func (s *PostScriptAlias) SVGFontFamily() string

func (*PostScriptAlias) SVGFontStyle

func (s *PostScriptAlias) SVGFontStyle() string

func (*PostScriptAlias) SVGFontWeight

func (s *PostScriptAlias) SVGFontWeight() string

func (*PostScriptAlias) SetFamily

func (s *PostScriptAlias) SetFamily(v string)

func (*PostScriptAlias) SetName

func (s *PostScriptAlias) SetName(v string)

func (*PostScriptAlias) SetSVGFontFamily

func (s *PostScriptAlias) SetSVGFontFamily(v string)

func (*PostScriptAlias) SetSVGFontStyle

func (s *PostScriptAlias) SetSVGFontStyle(v string)

func (*PostScriptAlias) SetSVGFontWeight

func (s *PostScriptAlias) SetSVGFontWeight(v string)

func (*PostScriptAlias) SetStretch

func (s *PostScriptAlias) SetStretch(v string)

func (*PostScriptAlias) SetStyle

func (s *PostScriptAlias) SetStyle(v string)

func (*PostScriptAlias) SetWeight

func (s *PostScriptAlias) SetWeight(v string)

func (*PostScriptAlias) SetXFigCode

func (s *PostScriptAlias) SetXFigCode(v int)

func (*PostScriptAlias) Stretch

func (s *PostScriptAlias) Stretch() string

func (*PostScriptAlias) Style

func (s *PostScriptAlias) Style() string

func (*PostScriptAlias) Weight

func (s *PostScriptAlias) Weight() string

func (*PostScriptAlias) XFigCode

func (s *PostScriptAlias) XFigCode() int

type RenderEngine

type RenderEngine interface {
	BeginJob(ctx context.Context, job *Job) error
	EndJob(ctx context.Context, job *Job) error
	BeginGraph(ctx context.Context, job *Job) error
	EndGraph(ctx context.Context, job *Job) error
	BeginLayer(ctx context.Context, job *Job, layerName string, layerNum, numLayers int) error
	EndLayer(ctx context.Context, job *Job) error
	BeginPage(ctx context.Context, job *Job) error
	EndPage(ctx context.Context, job *Job) error
	BeginCluster(ctx context.Context, job *Job) error
	EndCluster(ctx context.Context, job *Job) error
	BeginNodes(ctx context.Context, job *Job) error
	EndNodes(ctx context.Context, job *Job) error
	BeginEdges(ctx context.Context, job *Job) error
	EndEdges(ctx context.Context, job *Job) error
	BeginNode(ctx context.Context, job *Job) error
	EndNode(ctx context.Context, job *Job) error
	BeginEdge(ctx context.Context, job *Job) error
	EndEdge(ctx context.Context, job *Job) error
	BeginAnchor(ctx context.Context, job *Job, href, tooltip, target, id string) error
	EndAnchor(ctx context.Context, job *Job) error
	BeginLabel(ctx context.Context, job *Job, labelType LabelType) error
	EndLabel(ctx context.Context, job *Job) error
	TextSpan(ctx context.Context, job *Job, point *PointFloat, textSpan *TextSpan) error
	ResolveColor(ctx context.Context, job *Job, color *Color) error
	Ellipse(ctx context.Context, job *Job, points []*PointFloat, filled bool) error
	Polygon(ctx context.Context, job *Job, points []*PointFloat, filled bool) error
	BezierCurve(ctx context.Context, job *Job, points []*PointFloat, filled bool) error
	Polyline(ctx context.Context, job *Job, points []*PointFloat) error
	Comment(ctx context.Context, job *Job, comment string) error
	LibraryShape(ctx context.Context, job *Job, s string, points []*PointFloat, filled bool) error
	LoadImage(ctx context.Context, job *Job, shape *UserShape, box *BoxFloat, filled bool) error
}

type RenderPlugin

type RenderPlugin struct {
	// contains filtered or unexported fields
}

func JPGRenderPlugin

func JPGRenderPlugin(ctx context.Context) (*RenderPlugin, error)

func NewRenderPlugin

func NewRenderPlugin(ctx context.Context, typ string, engine RenderEngine, opts ...RenderPluginOption) (*RenderPlugin, error)

func PNGRenderPlugin

func PNGRenderPlugin(ctx context.Context) (*RenderPlugin, error)

func (*RenderPlugin) RenderEngine

func (p *RenderPlugin) RenderEngine() RenderEngine

type RenderPluginOption

type RenderPluginOption func(*renderConfig)

func WithRenderColorType

func WithRenderColorType(typ ColorType) RenderPluginOption

func WithRenderFeatures

func WithRenderFeatures(features ...RenderFeature) RenderPluginOption

func WithRenderPAD

func WithRenderPAD(pad float64) RenderPluginOption

func WithRenderQuality

func WithRenderQuality(quality int) RenderPluginOption

type Scale

type Scale = PointFloat

type TextFont

type TextFont struct {
	// contains filtered or unexported fields
}

func (*TextFont) Color

func (f *TextFont) Color() string

func (*TextFont) Count

func (f *TextFont) Count() uint

func (*TextFont) Flags

func (f *TextFont) Flags() uint

func (*TextFont) Name

func (f *TextFont) Name() string

func (*TextFont) PostScriptAlias

func (f *TextFont) PostScriptAlias() *PostScriptAlias

func (*TextFont) SetColor

func (f *TextFont) SetColor(v string)

func (*TextFont) SetCount

func (f *TextFont) SetCount(v uint)

func (*TextFont) SetFlags

func (f *TextFont) SetFlags(v uint)

func (*TextFont) SetName

func (f *TextFont) SetName(v string)

func (*TextFont) SetPostScriptAlias

func (f *TextFont) SetPostScriptAlias(v *PostScriptAlias)

func (*TextFont) SetSize

func (f *TextFont) SetSize(v float64)

func (*TextFont) Size

func (f *TextFont) Size() float64

type TextSpan

type TextSpan struct {
	// contains filtered or unexported fields
}

func (*TextSpan) Font

func (s *TextSpan) Font() *TextFont

func (*TextSpan) Just

func (s *TextSpan) Just() int

func (*TextSpan) SetFont

func (s *TextSpan) SetFont(v *TextFont)

func (*TextSpan) SetJust

func (s *TextSpan) SetJust(v int)

func (*TextSpan) SetSize

func (s *TextSpan) SetSize(v *PointFloat)

func (*TextSpan) SetText

func (s *TextSpan) SetText(v string)

func (*TextSpan) SetYOffsetCenterLine

func (s *TextSpan) SetYOffsetCenterLine(v float64)

func (*TextSpan) SetYOffsetLayout

func (s *TextSpan) SetYOffsetLayout(v float64)

func (*TextSpan) Size

func (s *TextSpan) Size() *PointFloat

func (*TextSpan) Text

func (s *TextSpan) Text() string

func (*TextSpan) YOffsetCenterLine

func (s *TextSpan) YOffsetCenterLine() float64

func (*TextSpan) YOffsetLayout

func (s *TextSpan) YOffsetLayout() float64

type Translation

type Translation = PointFloat

type UserShape

type UserShape struct {
	// contains filtered or unexported fields
}

func (*UserShape) DPI

func (s *UserShape) DPI() int

func (*UserShape) Data

func (s *UserShape) Data() []byte

func (*UserShape) DataSize

func (s *UserShape) DataSize() uint

func (*UserShape) Height

func (s *UserShape) Height() int

func (*UserShape) ImageType

func (s *UserShape) ImageType() ImageType
func (s *UserShape) Link() *cdt.Link

func (*UserShape) MacroID

func (s *UserShape) MacroID() int

func (*UserShape) MustInline

func (s *UserShape) MustInline() bool

func (*UserShape) Name

func (s *UserShape) Name() string

func (*UserShape) NoCache

func (s *UserShape) NoCache() bool

func (*UserShape) SetDPI

func (s *UserShape) SetDPI(v int)

func (*UserShape) SetData

func (s *UserShape) SetData(v []byte)

func (*UserShape) SetDataSize

func (s *UserShape) SetDataSize(v uint)

func (*UserShape) SetHeight

func (s *UserShape) SetHeight(v int)

func (*UserShape) SetImageType

func (s *UserShape) SetImageType(v ImageType)
func (s *UserShape) SetLink(v *cdt.Link)

func (*UserShape) SetMacroID

func (s *UserShape) SetMacroID(v int)

func (*UserShape) SetMustInline

func (s *UserShape) SetMustInline(v bool)

func (*UserShape) SetName

func (s *UserShape) SetName(v string)

func (*UserShape) SetNoCache

func (s *UserShape) SetNoCache(v bool)

func (*UserShape) SetStringType

func (s *UserShape) SetStringType(v string)

func (*UserShape) SetWidth

func (s *UserShape) SetWidth(v int)

func (*UserShape) SetX

func (s *UserShape) SetX(v int)

func (*UserShape) SetY

func (s *UserShape) SetY(v int)

func (*UserShape) StringType

func (s *UserShape) StringType() string

func (*UserShape) Width

func (s *UserShape) Width() int

func (*UserShape) X

func (s *UserShape) X() int

func (*UserShape) Y

func (s *UserShape) Y() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL