Update story gradients

This commit is contained in:
Fedor Indutny 2024-04-09 23:38:27 +02:00 committed by GitHub
parent e533292d33
commit 4caa260a22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 48 additions and 16 deletions

View file

@ -417,9 +417,11 @@ message TextAttachment {
}
message Gradient {
optional uint32 startColor = 1;
optional uint32 endColor = 2;
optional uint32 startColor = 1; // deprecated: this field will be removed in a future release.
optional uint32 endColor = 2; // deprecated: this field will be removed in a future release.
optional uint32 angle = 3; // degrees
repeated uint32 colors = 4;
repeated float positions = 5; // percent from 0 to 1
}
optional string text = 1;