Click or drag to resize

MarkerBatchPrimitivePixelOffset Property

Gets or sets the per-batch pixel offset, which is applied to each marker in the batch.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 19.2.399.0 (19.2.399.0)
Syntax
public PointF PixelOffset { get; set; }

Property Value

Type: PointF
Remarks

The pixel offset defines a screen-space translation for a marker from its position. Positive x values translate to the right and positive y values translate up. This is commonly used when more than one primitive is located at the same position. For example, if a marker in a marker batch and a point in a point batch have the same position, the marker may have a pixel offset applied to it so it doesn't overlap the point.

If per-marker pixel offsets were specified with MarkerBatchPrimitiveOptionalParameters.SetPixelOffsets, the per-batch pixel offset is ignored.

See Also