Project import generated by Copybara.

PiperOrigin-RevId: 263889205
This commit is contained in:
MediaPipe Team
2019-08-16 18:56:48 -07:00
committed by jqtang
parent dc40414468
commit 294687295d
443 changed files with 33160 additions and 2011 deletions
+13
View File
@@ -45,6 +45,7 @@ message RenderAnnotation {
optional double right = 3;
optional double bottom = 4;
optional bool normalized = 5 [default = false];
optional double rotation = 6; // Rotation in radians.
}
message FilledRectangle {
@@ -114,6 +115,17 @@ message RenderAnnotation {
optional LineType line_type = 6 [default = SOLID];
}
message GradientLine {
optional double x_start = 1;
optional double y_start = 2;
optional double x_end = 3;
optional double y_end = 4;
optional bool normalized = 5 [default = false];
// Linearly interpolate between color1 and color2 along the line.
optional Color color1 = 6;
optional Color color2 = 7;
}
message Arrow {
// The arrow head will be drawn at (x_end, y_end).
optional double x_start = 1;
@@ -162,6 +174,7 @@ message RenderAnnotation {
Text text = 8;
RoundedRectangle rounded_rectangle = 9;
FilledRoundedRectangle filled_rounded_rectangle = 10;
GradientLine gradient_line = 14;
}
// Thickness for drawing the annotation.