2011-04-27 08:06:14 +00:00
|
|
|
// Copyright 2010 The draw2d Authors. All rights reserved.
|
|
|
|
// created: 21/11/2010 by Laurent Le Goff
|
2012-04-17 09:03:56 +00:00
|
|
|
|
2011-04-27 08:06:14 +00:00
|
|
|
package draw2d
|
|
|
|
|
|
|
|
type VertexCommand byte
|
|
|
|
|
|
|
|
const (
|
|
|
|
VertexNoCommand VertexCommand = iota
|
|
|
|
VertexStartCommand
|
|
|
|
VertexJoinCommand
|
|
|
|
VertexCloseCommand
|
|
|
|
VertexStopCommand
|
|
|
|
)
|
|
|
|
|
|
|
|
type VertexConverter interface {
|
|
|
|
NextCommand(cmd VertexCommand)
|
2015-04-23 08:05:48 +00:00
|
|
|
AddPoint(x, y float64)
|
2011-04-27 08:06:14 +00:00
|
|
|
}
|