Interface Document.Style.FontSizeOrBuilder

public static interface Document.Style.FontSizeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSize()

public abstract float getSize()

Font size for the text.

float size = 1;

Returns
TypeDescription
float

The size.

getUnit()

public abstract String getUnit()

Unit for the font size. Follows CSS naming (in, px, pt, etc.).

string unit = 2;

Returns
TypeDescription
String

The unit.

getUnitBytes()

public abstract ByteString getUnitBytes()

Unit for the font size. Follows CSS naming (in, px, pt, etc.).

string unit = 2;

Returns
TypeDescription
ByteString

The bytes for unit.