Documentation ¶
Index ¶
- Variables
- type Length
- func (*Length) Descriptor() ([]byte, []int)deprecated
- func (x *Length) GetCm() float64
- func (x *Length) GetIn() float64
- func (x *Length) GetMm() float64
- func (x *Length) GetPt() float64
- func (m *Length) GetValue() isLength_Value
- func (*Length) ProtoMessage()
- func (x *Length) ProtoReflect() protoreflect.Message
- func (x *Length) Reset()
- func (x *Length) String() string
- type Length_Cm
- type Length_In
- type Length_Mm
- type Length_Pt
- type Point
- type Rect
- func (*Rect) Descriptor() ([]byte, []int)deprecated
- func (x *Rect) GetBottom() *Length
- func (x *Rect) GetLeft() *Length
- func (x *Rect) GetRight() *Length
- func (x *Rect) GetTop() *Length
- func (*Rect) ProtoMessage()
- func (x *Rect) ProtoReflect() protoreflect.Message
- func (x *Rect) Reset()
- func (x *Rect) String() string
- type Size
Constants ¶
This section is empty.
Variables ¶
View Source
var File_geometry_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Length ¶
type Length struct { // Types that are assignable to Value: // // *Length_Pt // *Length_Mm // *Length_Cm // *Length_In Value isLength_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Length) Descriptor
deprecated
func (*Length) ProtoMessage ¶
func (*Length) ProtoMessage()
func (*Length) ProtoReflect ¶
func (x *Length) ProtoReflect() protoreflect.Message
type Length_Cm ¶
type Length_Cm struct {
Cm float64 `protobuf:"fixed64,3,opt,name=cm,proto3,oneof"`
}
type Length_In ¶
type Length_In struct {
In float64 `protobuf:"fixed64,4,opt,name=in,proto3,oneof"`
}
type Length_Mm ¶
type Length_Mm struct {
Mm float64 `protobuf:"fixed64,2,opt,name=mm,proto3,oneof"`
}
type Length_Pt ¶
type Length_Pt struct {
Pt float64 `protobuf:"fixed64,1,opt,name=pt,proto3,oneof"`
}
type Point ¶
type Point struct { Left *Length `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"` Top *Length `protobuf:"bytes,2,opt,name=top,proto3" json:"top,omitempty"` // contains filtered or unexported fields }
func (*Point) Descriptor
deprecated
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
type Rect ¶
type Rect struct { Top *Length `protobuf:"bytes,1,opt,name=top,proto3" json:"top,omitempty"` Right *Length `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` Bottom *Length `protobuf:"bytes,3,opt,name=bottom,proto3" json:"bottom,omitempty"` Left *Length `protobuf:"bytes,4,opt,name=left,proto3" json:"left,omitempty"` // contains filtered or unexported fields }
func (*Rect) Descriptor
deprecated
func (*Rect) ProtoMessage ¶
func (*Rect) ProtoMessage()
func (*Rect) ProtoReflect ¶
func (x *Rect) ProtoReflect() protoreflect.Message
type Size ¶
type Size struct { Width *Length `protobuf:"bytes,1,opt,name=width,proto3" json:"width,omitempty"` Height *Length `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*Size) Descriptor
deprecated
func (*Size) ProtoMessage ¶
func (*Size) ProtoMessage()
func (*Size) ProtoReflect ¶
func (x *Size) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.