Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajstarks/deck
/ types & classes
Types & classes
29 in github.com/ajstarks/deck
⨍
Functions
370
◇
Types & classes
29
Struct
Arc
Arc defines an elliptical arc the arc is defined by a beginning and ending angle in percentages <arc xp="55" yp="10" wp="4" hr="75" a1="0" a2="180"/>
deck.go:163
Struct
Bardata
examples/barchart.go:8
Struct
CommonAttr
CommonAttr are the common attributes for text and list
deck.go:54
Struct
Curve
Curve defines a quadratic Bezier curve The begining, ending, and control points are required: <curve xp1="60" yp1="10" xp2="75" yp2="20" xp3="70" yp3=
deck.go:148
Struct
Deck
Deck defines the structure of a presentation deck The size of the canvas, and series of slides
deck.go:14
Struct
Deck
Deck is the generated deck structure.
generate/generate.go:36
Struct
Dimension
Dimension describes a graphics object with width and height
deck.go:72
Struct
Ellipse
Ellipse describes a rectangle with x,y,w,h <ellipse xp="45" yp="10" wp="4" hr="75" color="rgb(0,127,0)"/>
deck.go:123
Struct
Image
Image describes an image <image xp="20" yp="30" width="256" height="256" scale="50" name="picture.png" caption="Pretty picture"/>
deck.go:111
Struct
Line
Line defines a straight line <line xp1="20" yp1="10" xp2="30" yp2="10"/>
deck.go:135
Struct
List
List describes the list element
deck.go:95
Struct
ListItem
ListItem describes a list item <list xp="20" yp="70" sp="1.5"> <li>canvas<li> <li>slide</li> </list>
deck.go:87
Struct
Measure
cmd/codepicdeck/code/therm.go:16
Struct
PageDimen
PageDimen describes page dimensions the unit field is used to convert to pt.
cmd/svgdeck/svgdeck.go:36
Struct
PageDimen
PageDimen describes page dimensions the unit field is used to convert to pt.
cmd/fcdeck/fcdeck.go:38
Struct
PageDimen
PageDimen describes page dimensions the unit field is used to convert to pt.
cmd/pdfdeck/pdfdeck.go:60
Struct
PageDimen
PageDimen describes page dimensions the unit field is used to convert to pt.
cmd/pngdeck/pngdeck.go:31
Struct
Polygon
Polygon defines a polygon, x and y coordinates are specified by strings of space-separated percentages: <polygon xc="10 20 30" yc="30 40 50"/>
deck.go:174
Struct
Polyline
Polyline defines a polyline, x and y coordinates are specified by strings of space-separated percentages: <polyline xc="10 20 30" yc="30 40 50"/>
deck.go:184
Struct
RGB
RGB defines the red, green, blue triple that makes up colors.
cmd/pdfdeck/colors.go:10
Struct
RGB
RGB defines the red, green, blue triple that makes up colors.
cmd/pngdeck/colors.go:10
Struct
Rect
Rect describes a rectangle with x,y,w,h <rect xp="35" yp="10" wp="4" hp="3"/>
deck.go:129
Struct
Slide
Slide is the structure of an individual slide within a deck <slide bg="black" fg="rgb(255,255,255)" duration="2s" note="hello, world"> <slide gradcolo
deck.go:33
Struct
Text
Text describes the text element
deck.go:102
Struct
TypedString
cmd/pdfdeck/pdfdeck.go:52
Struct
canvas
deck.go:25
Struct
dimension
cmd/testgen/testgen.go:13
Struct
layout
cmd/deckd/deckd.go:46
Struct
options
command line options
cmd/pdfdeck/pdfdeck.go:25