forked from firka/flutter
[docs] Add Gradient.sweep and TileMode.decal images (flutter/engine#26848)
Added missing Gradient.sweep images to TileMode and missing TileMode.decal images to Gradient. Fixes flutter/flutter#84837
This commit is contained in:
@@ -3456,6 +3456,7 @@ enum TileMode {
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
/// 
|
||||
clamp,
|
||||
|
||||
/// Samples beyond the edge are repeated from the far end of the defined area.
|
||||
@@ -3469,6 +3470,7 @@ enum TileMode {
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
/// 
|
||||
repeated,
|
||||
|
||||
/// Samples beyond the edge are mirrored back and forth across the defined area.
|
||||
@@ -3484,6 +3486,7 @@ enum TileMode {
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
/// 
|
||||
mirror,
|
||||
|
||||
/// Samples beyond the edge are treated as transparent black.
|
||||
@@ -3497,6 +3500,7 @@ enum TileMode {
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
/// 
|
||||
decal,
|
||||
}
|
||||
|
||||
@@ -3558,6 +3562,7 @@ class Gradient extends Shader {
|
||||
/// argument. For details, see the [TileMode] enum.
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
/// 
|
||||
/// 
|
||||
///
|
||||
@@ -3602,6 +3607,7 @@ class Gradient extends Shader {
|
||||
/// argument. For details, see the [TileMode] enum.
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
/// 
|
||||
/// 
|
||||
///
|
||||
@@ -3667,6 +3673,7 @@ class Gradient extends Shader {
|
||||
/// `tileMode` argument. For details, see the [TileMode] enum.
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
/// 
|
||||
/// 
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user