geometrypb

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Length.ProtoReflect.Descriptor instead.

func (*Length) GetCm

func (x *Length) GetCm() float64

func (*Length) GetIn

func (x *Length) GetIn() float64

func (*Length) GetMm

func (x *Length) GetMm() float64

func (*Length) GetPt

func (x *Length) GetPt() float64

func (*Length) GetValue

func (m *Length) GetValue() isLength_Value

func (*Length) ProtoMessage

func (*Length) ProtoMessage()

func (*Length) ProtoReflect

func (x *Length) ProtoReflect() protoreflect.Message

func (*Length) Reset

func (x *Length) Reset()

func (*Length) String

func (x *Length) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetLeft

func (x *Point) GetLeft() *Length

func (*Point) GetTop

func (x *Point) GetTop() *Length

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

func (x *Point) ProtoReflect() protoreflect.Message

func (*Point) Reset

func (x *Point) Reset()

func (*Point) String

func (x *Point) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Rect.ProtoReflect.Descriptor instead.

func (*Rect) GetBottom

func (x *Rect) GetBottom() *Length

func (*Rect) GetLeft

func (x *Rect) GetLeft() *Length

func (*Rect) GetRight

func (x *Rect) GetRight() *Length

func (*Rect) GetTop

func (x *Rect) GetTop() *Length

func (*Rect) ProtoMessage

func (*Rect) ProtoMessage()

func (*Rect) ProtoReflect

func (x *Rect) ProtoReflect() protoreflect.Message

func (*Rect) Reset

func (x *Rect) Reset()

func (*Rect) String

func (x *Rect) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Size.ProtoReflect.Descriptor instead.

func (*Size) GetHeight

func (x *Size) GetHeight() *Length

func (*Size) GetWidth

func (x *Size) GetWidth() *Length

func (*Size) ProtoMessage

func (*Size) ProtoMessage()

func (*Size) ProtoReflect

func (x *Size) ProtoReflect() protoreflect.Message

func (*Size) Reset

func (x *Size) Reset()

func (*Size) String

func (x *Size) String() string

Jump to

Keyboard shortcuts

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