# foxglove_msgs/PointsAnnotation
# An array of points on a 2D image

# Generated by https://github.com/foxglove/foxglove-sdk

# Timestamp of annotation
time timestamp

# Unknown points annotation type
uint8 UNKNOWN=0

# Individual points: 0, 1, 2, ...
uint8 POINTS=1

# Closed polygon: 0-1, 1-2, ..., (n-1)-n, n-0
uint8 LINE_LOOP=2

# Connected line segments: 0-1, 1-2, ..., (n-1)-n
uint8 LINE_STRIP=3

# Individual line segments: 0-1, 2-3, 4-5, ...
uint8 LINE_LIST=4

# Type of points annotation to draw
uint8 type

# Points in 2D image coordinates (pixels).
# These coordinates use the top-left corner of the top-left pixel of the image as the origin.
foxglove_msgs/Point2[] points

# Outline color
foxglove_msgs/Color outline_color

# Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`, `LINE_STRIP` or `LINE_LOOP`.
foxglove_msgs/Color[] outline_colors

# Fill color
foxglove_msgs/Color fill_color

# Stroke thickness in pixels
float64 thickness

# Additional user-provided metadata associated with this annotation. Keys must be unique.
foxglove_msgs/KeyValuePair[] metadata
