Documentation ¶
Overview ¶
Package paint is a generated protocol buffer package.
It is generated from these files:
gomatcha.io/matcha/proto/paint/paint.proto
It has these top-level messages:
Style
Index ¶
- type Style
- func (*Style) Descriptor() ([]byte, []int)
- func (m *Style) GetBackgroundColor() *matcha.Color
- func (m *Style) GetBorderColor() *matcha.Color
- func (m *Style) GetBorderWidth() float64
- func (m *Style) GetCornerRadius() float64
- func (m *Style) GetShadowColor() *matcha.Color
- func (m *Style) GetShadowOffset() *matcha_layout.Point
- func (m *Style) GetShadowRadius() float64
- func (m *Style) GetTransparency() float64
- func (*Style) ProtoMessage()
- func (m *Style) Reset()
- func (m *Style) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Style ¶
type Style struct { Transparency float64 `protobuf:"fixed64,1,opt,name=transparency" json:"transparency,omitempty"` BackgroundColor *matcha.Color `protobuf:"bytes,2,opt,name=backgroundColor" json:"backgroundColor,omitempty"` BorderColor *matcha.Color `protobuf:"bytes,3,opt,name=borderColor" json:"borderColor,omitempty"` BorderWidth float64 `protobuf:"fixed64,4,opt,name=borderWidth" json:"borderWidth,omitempty"` CornerRadius float64 `protobuf:"fixed64,5,opt,name=cornerRadius" json:"cornerRadius,omitempty"` ShadowRadius float64 `protobuf:"fixed64,7,opt,name=shadowRadius" json:"shadowRadius,omitempty"` ShadowOffset *matcha_layout.Point `protobuf:"bytes,8,opt,name=shadowOffset" json:"shadowOffset,omitempty"` ShadowColor *matcha.Color `protobuf:"bytes,9,opt,name=shadowColor" json:"shadowColor,omitempty"` }
func (*Style) Descriptor ¶
func (*Style) GetBackgroundColor ¶
func (*Style) GetBorderColor ¶
func (*Style) GetBorderWidth ¶
func (*Style) GetCornerRadius ¶
func (*Style) GetShadowColor ¶
func (*Style) GetShadowOffset ¶
func (m *Style) GetShadowOffset() *matcha_layout.Point
func (*Style) GetShadowRadius ¶
func (*Style) GetTransparency ¶
func (*Style) ProtoMessage ¶
func (*Style) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.