public static class StyleParser.MarginInfo

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

Constructors

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

Inherited fields

Inherited methods

Constructor details

MarginInfo

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

Parameters

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