Nez.Portable/UI/Drawable/SubtextureDrawable.cs
/// <summary>
/// returns a new drawable with the tint color specified
/// </summary>
/// <returns>The tinted drawable.</returns>
/// <param name="tint">Tint.</param>
returns a new drawable with the tint color specified
returns a new drawable with the tint color specified
public SubtextureDrawable newTintedDrawable(Color tint)
        {
            return new SubtextureDrawable(_subtexture)
                       {
                           leftWidth = leftWidth,
                           rightWidth = rightWidth,
                           topHeight = topHeight,
                           bottomHeight = bottomHeight,
                           minWidth = minWidth,
                           minHeight = minHeight,
                           tintColor = tint
                       };
        }
public SubtextureDrawable newTintedDrawable ( Color tint ) { return new SubtextureDrawable ( _subtexture ) { leftWidth = leftWidth , rightWidth = rightWidth , topHeight = topHeight , bottomHeight = bottomHeight , minWidth = minWidth , minHeight = minHeight , tintColor = tint } ; }
returns a new drawable with the tint color specified
returns a new drawable with the tint color specified
The tinted drawable.
The tinted drawable .
tint
Color
None