public sealed class ImageSegmentationAnnotation.Types.PolygonAnnotation : IMessage<ImageSegmentationAnnotation.Types.PolygonAnnotation>, IEquatable<ImageSegmentationAnnotation.Types.PolygonAnnotation>, IDeepCloneable<ImageSegmentationAnnotation.Types.PolygonAnnotation>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class ImageSegmentationAnnotation.Types.PolygonAnnotation.
Represents a polygon in image.
Implements
IMessageImageSegmentationAnnotationTypesPolygonAnnotation, IEquatableImageSegmentationAnnotationTypesPolygonAnnotation, IDeepCloneableImageSegmentationAnnotationTypesPolygonAnnotation, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1.SchemaAssembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
PolygonAnnotation()
public PolygonAnnotation()PolygonAnnotation(PolygonAnnotation)
public PolygonAnnotation(ImageSegmentationAnnotation.Types.PolygonAnnotation other)| Parameter | |
|---|---|
| Name | Description |
other |
ImageSegmentationAnnotationTypesPolygonAnnotation |
Properties
AnnotationSpecId
public string AnnotationSpecId { get; set; }The resource Id of the AnnotationSpec that this Annotation pertains to.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DisplayName
public string DisplayName { get; set; }The display name of the AnnotationSpec that this Annotation pertains to.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Vertexes
public RepeatedField<Vertex> Vertexes { get; }The vertexes are connected one by one and the last vertex is connected to the first one to represent a polygon.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldVertex |
|