Table of contents

Enumeration MeasureUnit

MeasureUnit specifies how a numeric value should be interpreted relative to a reference dimension.

class EnumMeasureUnit(IntEnum):
    # The value is an absolute pixel count.
    MU_PIXEL = 0
    # The value is a percentage of the reference dimension (e.g. 25 = 25%).
    MU_PERCENTAGE = 1

This page is compatible for: