updateHorizontalDimensions

Updates horizontalDimensions to match this CartesianLayer’s dimensions.