Interface Document.Style.FontSizeOrBuilder (2.34.0)

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 (such as in, px, and pt).

string unit = 2;

Returns
TypeDescription
String

The unit.

getUnitBytes()

public abstract ByteString getUnitBytes()

Unit for the font size. Follows CSS naming (such as in, px, and pt).

string unit = 2;

Returns
TypeDescription
ByteString

The bytes for unit.