Inheritance
System.Object
DecorationImage
public class DecorationImage : IEquatable<DecorationImage>
Constructors
Declaration
public DecorationImage(ImageProvider image = null, ColorFilter colorFilter = null, BoxFit? fit = default(BoxFit? ), Alignment alignment = null, Rect centerSlice = null, ImageRepeat repeat = ImageRepeat.noRepeat)
Parameters
Fields
Declaration
public readonly Alignment alignment
Field Value
Declaration
public readonly Rect centerSlice
Field Value
Declaration
public readonly ColorFilter colorFilter
Field Value
Declaration
public readonly BoxFit? fit
Field Value
Type |
Description |
System.Nullable<BoxFit> |
|
Declaration
public readonly ImageProvider image
Field Value
Declaration
public readonly ImageRepeat repeat
Field Value
Methods
Declaration
public DecorationImagePainter createPainter(VoidCallback onChanged)
Parameters
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(DecorationImage other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static bool operator ==(DecorationImage left, DecorationImage right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(DecorationImage left, DecorationImage right)
Parameters
Returns
Type |
Description |
System.Boolean |
|