• Calculates the pixel coordinates for the start and end positions.

    Parameters

    • contentWidth: number

      The width of the content.

    • contentLabelWidth: number

      The width of the content label.

    • marginWidth: number

      The width of the margin.

    Returns number[]

    An array containing the start and end pixel coordinates.