layout

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package layout is a generated protocol buffer package.

It is generated from these files:

gomatcha.io/matcha/proto/layout/layout.proto

It has these top-level messages:

Point
Rect
Insets
Guide

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Guide

type Guide struct {
	Frame  *Rect `protobuf:"bytes,1,opt,name=frame" json:"frame,omitempty"`
	ZIndex int64 `protobuf:"varint,3,opt,name=zIndex" json:"zIndex,omitempty"`
}

func (*Guide) Descriptor

func (*Guide) Descriptor() ([]byte, []int)

func (*Guide) GetFrame

func (m *Guide) GetFrame() *Rect

func (*Guide) GetZIndex

func (m *Guide) GetZIndex() int64

func (*Guide) ProtoMessage

func (*Guide) ProtoMessage()

func (*Guide) Reset

func (m *Guide) Reset()

func (*Guide) String

func (m *Guide) String() string

type Insets

type Insets struct {
	Top    float64 `protobuf:"fixed64,1,opt,name=top" json:"top,omitempty"`
	Left   float64 `protobuf:"fixed64,2,opt,name=left" json:"left,omitempty"`
	Bottom float64 `protobuf:"fixed64,3,opt,name=bottom" json:"bottom,omitempty"`
	Right  float64 `protobuf:"fixed64,4,opt,name=right" json:"right,omitempty"`
}

func (*Insets) Descriptor

func (*Insets) Descriptor() ([]byte, []int)

func (*Insets) GetBottom

func (m *Insets) GetBottom() float64

func (*Insets) GetLeft

func (m *Insets) GetLeft() float64

func (*Insets) GetRight

func (m *Insets) GetRight() float64

func (*Insets) GetTop

func (m *Insets) GetTop() float64

func (*Insets) ProtoMessage

func (*Insets) ProtoMessage()

func (*Insets) Reset

func (m *Insets) Reset()

func (*Insets) String

func (m *Insets) String() string

type Point

type Point struct {
	X float64 `protobuf:"fixed64,1,opt,name=x" json:"x,omitempty"`
	Y float64 `protobuf:"fixed64,2,opt,name=y" json:"y,omitempty"`
}

func (*Point) Descriptor

func (*Point) Descriptor() ([]byte, []int)

func (*Point) GetX

func (m *Point) GetX() float64

func (*Point) GetY

func (m *Point) GetY() float64

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) String

func (m *Point) String() string

type Rect

type Rect struct {
	Min *Point `protobuf:"bytes,1,opt,name=min" json:"min,omitempty"`
	Max *Point `protobuf:"bytes,2,opt,name=max" json:"max,omitempty"`
}

func (*Rect) Descriptor

func (*Rect) Descriptor() ([]byte, []int)

func (*Rect) GetMax

func (m *Rect) GetMax() *Point

func (*Rect) GetMin

func (m *Rect) GetMin() *Point

func (*Rect) ProtoMessage

func (*Rect) ProtoMessage()

func (*Rect) Reset

func (m *Rect) Reset()

func (*Rect) String

func (m *Rect) String() string

Jump to

Keyboard shortcuts

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