Versions in this module Expand all Collapse all v0 v0.1.0 Jul 31, 2017 Changes in this version + type Alignment int + const AlignmentCenter + const AlignmentJustified + const AlignmentLeft + const AlignmentRight + func (a Alignment) MarshalProtobuf() pbtext.TextAlignment + type Font struct + Face string + Family string + Size float64 + func (f Font) MarshalProtobuf() *pbtext.Font + type StrikethroughStyle int + const StrikethroughStyleDashed + const StrikethroughStyleDotted + const StrikethroughStyleDouble + const StrikethroughStyleNone + const StrikethroughStyleSingle + const StrikethroughStyleThick + func (a StrikethroughStyle) MarshalProtobuf() pbtext.StrikethroughStyle + type Style struct + func (f *Style) Alignment() Alignment + func (f *Style) ClearAlignment() + func (f *Style) ClearFont() + func (f *Style) ClearHyphenation() + func (f *Style) ClearLineHeightMultiple() + func (f *Style) ClearStrikethroughColor() + func (f *Style) ClearStrikethroughStyle() + func (f *Style) ClearTextColor() + func (f *Style) ClearTruncation() + func (f *Style) ClearTruncationString() + func (f *Style) ClearUnderlineColor() + func (f *Style) ClearUnderlineStyle() + func (f *Style) ClearWrap() + func (f *Style) Font() Font + func (f *Style) Hyphenation() float64 + func (f *Style) LineHeightMultiple() float64 + func (f *Style) MarshalProtobuf() *pbtext.TextStyle + func (f *Style) SetAlignment(v Alignment) + func (f *Style) SetFont(v Font) + func (f *Style) SetHyphenation(v float64) + func (f *Style) SetLineHeightMultiple(v float64) + func (f *Style) SetStrikethroughColor(v color.Color) + func (f *Style) SetStrikethroughStyle(v StrikethroughStyle) + func (f *Style) SetTextColor(v color.Color) + func (f *Style) SetTruncation(v Truncation) + func (f *Style) SetTruncationString(v string) + func (f *Style) SetUnderlineColor(v color.Color) + func (f *Style) SetUnderlineStyle(v UnderlineStyle) + func (f *Style) SetWrap(v Wrap) + func (f *Style) StrikethroughColor() color.Color + func (f *Style) StrikethroughStyle() StrikethroughStyle + func (f *Style) TextColor() color.Color + func (f *Style) Truncation() Truncation + func (f *Style) TruncationString() string + func (f *Style) UnderlineColor() color.Color + func (f *Style) UnderlineStyle() UnderlineStyle + func (f *Style) Update(u *Style) + func (f *Style) Wrap() Wrap + type Text struct + func New(b string) *Text + func (t *Text) MarshalProtobuf() *pb.Text + func (t *Text) Notify(f func()) comm.Id + func (t *Text) SetString(str string) + func (t *Text) String() string + func (t *Text) UnmarshalProtobuf(pbtext *pb.Text) error + func (t *Text) Unnotify(id comm.Id) + func (t *Text) Value() string + type Truncation int + const TruncationEnd + const TruncationMiddle + const TruncationNone + const TruncationStart + func (a Truncation) MarshalProtobuf() pbtext.Truncation + type UnderlineStyle int + const UnderlineStyleDashed + const UnderlineStyleDotted + const UnderlineStyleDouble + const UnderlineStyleNone + const UnderlineStyleSingle + const UnderlineStyleThick + func (a UnderlineStyle) MarshalProtobuf() pbtext.UnderlineStyle + type Wrap int + const WrapCharacter + const WrapNone + const WrapWord + func (a Wrap) MarshalProtobuf() pbtext.TextWrap