Package biopb.image
Interface PolylineOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Polyline,Polyline.Builder
public interface PolylineOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetPoints(int index) repeated .biopb.image.Point points = 1;intrepeated .biopb.image.Point points = 1;repeated .biopb.image.Point points = 1;getPointsOrBuilder(int index) repeated .biopb.image.Point points = 1;List<? extends PointOrBuilder>repeated .biopb.image.Point points = 1;floatgetWidth()Stroke width, in the same pixel units as the points.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPointsList
repeated .biopb.image.Point points = 1; -
getPoints
repeated .biopb.image.Point points = 1; -
getPointsCount
int getPointsCount()repeated .biopb.image.Point points = 1; -
getPointsOrBuilderList
List<? extends PointOrBuilder> getPointsOrBuilderList()repeated .biopb.image.Point points = 1; -
getPointsOrBuilder
repeated .biopb.image.Point points = 1; -
getWidth
float getWidth()Stroke width, in the same pixel units as the points. This is GEOMETRY, not styling. A scribble annotation marks the pixels the brush covered, so the width participates in what the ROI means -- and in its bounding box, which extends width/2 beyond the vertex extent. A consumer that treated this as a display attribute would compute the wrong covered region. 0 means a mathematical zero-width path.
float width = 2;- Returns:
- The width.
-