Xamarin.Android | ComponentOne
C1.Android.Input Assembly / C1.Android.Input Namespace / C1TexBoxBackgroundDrawable Class / SetStroke Method / SetStroke(Int32,Color,Single,Single) Method


In This Topic
    SetStroke(Int32,Color,Single,Single) Method
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setStroke", 
       "(IIFF)V", 
       "GetSetStroke_IIFFHandler")>
    Public Overloads Overridable Sub SetStroke( _
       ByVal width As Integer, _
       ByVal color As Android.Graphics.Color, _
       ByVal dashWidth As Single, _
       ByVal dashGap As Single _
    ) 
    'Usage
     
    
    Dim instance As C1TexBoxBackgroundDrawable
    Dim width As Integer
    Dim color As Android.Graphics.Color
    Dim dashWidth As Single
    Dim dashGap As Single
     
    instance.SetStroke(width, color, dashWidth, dashGap)
    [Android.Runtime.Register("setStroke", 
       "(IIFF)V", 
       "GetSetStroke_IIFFHandler")]
    public virtual void SetStroke( 
       int width,
       Android.Graphics.Color color,
       float dashWidth,
       float dashGap
    )

    Parameters

    width
    color
    dashWidth
    dashGap
    See Also