package designcompose.definition.view

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ComponentInfo

view.proto:121

Details on the Figma component that this view is an instance of.

Used in: View

message ComponentOverrides

view.proto:113

Figma component properties can be "overridden" in the UI. These overrides are applied in the node tree we get back from Figma, so we don't have to worry about them, unless we present a variant of a component as a result of an interaction. In that case, we need to figure out what has been overridden and apply it to the variant. This struct keeps track of those overrides that need to be applied to variant instances.

Used in: ComponentInfo

enum Display

node_style.proto:41

Configures whether a view is displayed using a Flexbox layout or not at all.

Used in: NodeStyle

message NodeStyle

node_style.proto:50

Contains all of the styleable parameters accepted by the Rect and Text components. Next id = 45

Used in: ViewStyle

message StyledTextRun

text_style.proto:48

A section of text with a specific style

Used in: ViewData.StyledTextRuns

message TextStyle

text_style.proto:33

These are the style properties that apply to text, so we can use them on subsections of a longer string. We then assume that every style transition is a potential line break (and also run the linebreaking algorithm on the content of every style for the normal case where we need to break text that's all in one style).

Used in: StyledTextRun

message View

view.proto:36

Represents a toolkit View (like a Composable).

Used in: DesignComposeDefinition, ViewData.Container

enum View.RenderMethod

view.proto:40

This enum may be used as a hint by the DesignCompose renderer implementation to determine if it is important for the content to be rendered identically on different platforms.

Used in: View

message ViewData

view.proto:80

Details that are unique to each view type.

Used in: ComponentOverrides, View

message ViewData.Container

view.proto:85

Container is used to represent views that act as containers for other views, like a Column or a Row in Jetpack Compose. The shape field defines the visual appearance of the container, while the children field defines the views that are contained within it.

Used in: ViewData

message ViewData.StyledTextRuns

view.proto:95

A collection of styled text sections

Used in: ViewData

message ViewData.Text

view.proto:90

A Text view with a possible resource name attached to it

Used in: ViewData

message ViewStyle

view_style.proto:27

Collects the Layout and Node styles for a View

Used in: ComponentOverrides, View