public static class StyleParser.PaddingInfo

  1. Object
  2. StyleParser.BoxInfo
  3. StyleParser.PaddingInfo
Encapsulates information about the padding in a style string.

Constructors

public PaddingInfo(StyleParser.ScalarValue[] values)Creates a new PaddingInfo.

Inherited fields

Inherited methods

Constructor details

PaddingInfo

public PaddingInfo(StyleParser.ScalarValue[] values)
Creates a new PaddingInfo.

Parameters

values StyleParser.ScalarValue[]
4-element array of scalar values. Indices are Component#TOP, Component#BOTTOM, Component#LEFT and Component#RIGHT.