package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jun 11, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package primitive implements types and methods for working
with fogleman/primitive package.
Config contains information needed to create primitive image.
New initializes the instance of Config.
Create method creates a primitive image from an image in inputPath
and saves result in outputPath.
Shape implements enum of available shapes.
const (
ShapeAny Shape = iota
ShapeTriangle
ShapeRectangle
ShapeEllipse
ShapeCircle
ShapeRotatedRectangle
ShapeBezier
ShapeRotatedEllipse
ShapePolygon
)
Shapes that can be used to create images.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.