drawing

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LineJoin

type LineJoin byte

LineJoin is the type of line join

const (
	LineJoinRound LineJoin = iota
	LineJoinBevel
	LineJoinMiter
)

LineJoin types

type LineProperties

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

func (LineProperties) SetJoin

func (l LineProperties) SetJoin(e LineJoin)

SetJoin sets the line join style.

func (LineProperties) SetNoFill

func (l LineProperties) SetNoFill()

func (LineProperties) SetSolidFill

func (l LineProperties) SetSolidFill(c color.Color)

func (LineProperties) SetWidth

func (l LineProperties) SetWidth(w measurement.Distance)

SetWidth sets the line width, MS products treat zero as the minimum width that can be displayed.

func (LineProperties) X

X returns the inner wrapped XML type.

type ParagraphProperties

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

func MakeParagraphProperties

func MakeParagraphProperties(x *dml.CT_TextParagraphProperties) ParagraphProperties

type RunProperties

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

func MakeRunProperties

func MakeRunProperties(x *dml.CT_TextCharacterProperties) RunProperties

func (RunProperties) SetBold

func (r RunProperties) SetBold(b bool)

func (RunProperties) SetFont

func (r RunProperties) SetFont(s string)

func (RunProperties) SetSize

func (r RunProperties) SetSize(sz measurement.Distance)

func (RunProperties) SetSolidFill

func (r RunProperties) SetSolidFill(c color.Color)

type ShapeProperties

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

func MakeShapeProperties

func MakeShapeProperties(x *dml.CT_ShapeProperties) ShapeProperties

func (ShapeProperties) LineProperties

func (s ShapeProperties) LineProperties() LineProperties

func (ShapeProperties) SetNoFill

func (s ShapeProperties) SetNoFill()

func (ShapeProperties) SetSolidFill

func (s ShapeProperties) SetSolidFill(c color.Color)

func (ShapeProperties) X

X returns the inner wrapped XML type.

Jump to

Keyboard shortcuts

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