ERelativePos constructor

ERelativePos(
  1. double firstRelativeValue,
  2. double secondRelativeValue
)

Implementation

ERelativePos(double firstRelativeValue, double secondRelativeValue)
    : super(ERelative(0, ERelative.widthRelative),
          ERelative(0, ERelative.heightRelative)) {
  firstRelative.relative = firstRelativeValue;
  secondRelative.relative = secondRelativeValue;
}