static getPixelSizeForLayoutSize(layoutSize: number): number {
    return Math.round(layoutSize * PixelRatio.get());
  }
Converts a layout size (dp) to pixel size (px).

Guaranteed to return an integer number.