Interface Document.Style.FontSizeOrBuilder (2.48.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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for unit.