Versions in this module Expand all Collapse all v1 v1.0.1 Oct 25, 2024 Changes in this version + type LineJoin byte + const LineJoinBevel + const LineJoinMiter + const LineJoinRound + type LineProperties struct + func (l LineProperties) SetJoin(e LineJoin) + func (l LineProperties) SetNoFill() + func (l LineProperties) SetSolidFill(c color.Color) + func (l LineProperties) SetWidth(w measurement.Distance) + func (l LineProperties) X() *dml.CT_LineProperties + type Paragraph struct + func MakeParagraph(x *dml.CT_TextParagraph) Paragraph + func (p Paragraph) AddBreak() + func (p Paragraph) AddRun() Run + func (p Paragraph) Properties() ParagraphProperties + func (p Paragraph) X() *dml.CT_TextParagraph + type ParagraphProperties struct + func MakeParagraphProperties(x *dml.CT_TextParagraphProperties) ParagraphProperties + func (p ParagraphProperties) SetAlign(a dml.ST_TextAlignType) + func (p ParagraphProperties) SetBulletChar(c string) + func (p ParagraphProperties) SetBulletFont(f string) + func (p ParagraphProperties) SetLevel(idx int32) + func (p ParagraphProperties) SetNumbered(scheme dml.ST_TextAutonumberScheme) + func (p ParagraphProperties) X() *dml.CT_TextParagraphProperties + type Run struct + func MakeRun(x *dml.EG_TextRun) Run + func (r Run) Properties() RunProperties + func (r Run) SetText(s string) + func (r Run) X() *dml.EG_TextRun + type RunProperties struct + func MakeRunProperties(x *dml.CT_TextCharacterProperties) RunProperties + func (r RunProperties) SetBold(b bool) + func (r RunProperties) SetFont(s string) + func (r RunProperties) SetSize(sz measurement.Distance) + func (r RunProperties) SetSolidFill(c color.Color) + type ShapeProperties struct + func MakeShapeProperties(x *dml.CT_ShapeProperties) ShapeProperties + func (s ShapeProperties) LineProperties() LineProperties + func (s ShapeProperties) SetFlipHorizontal(b bool) + func (s ShapeProperties) SetFlipVertical(b bool) + func (s ShapeProperties) SetGeometry(g dml.ST_ShapeType) + func (s ShapeProperties) SetHeight(h measurement.Distance) + func (s ShapeProperties) SetNoFill() + func (s ShapeProperties) SetPosition(x, y measurement.Distance) + func (s ShapeProperties) SetSize(w, h measurement.Distance) + func (s ShapeProperties) SetSolidFill(c color.Color) + func (s ShapeProperties) SetWidth(w measurement.Distance) + func (s ShapeProperties) X() *dml.CT_ShapeProperties