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


In This Topic
    SetStroke(Int32,ColorStateList,Single,Single) Method
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("setStroke", 
       "(ILandroid/content/res/ColorStateList;FF)V", 
       "GetSetStroke_ILandroid_content_res_ColorStateList_FFHandler", 
       ApiSince=21)>
    Public Overloads Overridable Sub SetStroke( _
       ByVal width As Integer, _
       ByVal colorStateList As Android.Content.Res.ColorStateList, _
       ByVal dashWidth As Single, _
       ByVal dashGap As Single _
    ) 
    'Usage
     
    
    Dim instance As C1TexBoxBackgroundDrawable
    Dim width As Integer
    Dim colorStateList As Android.Content.Res.ColorStateList
    Dim dashWidth As Single
    Dim dashGap As Single
     
    instance.SetStroke(width, colorStateList, dashWidth, dashGap)
    [Android.Runtime.Register("setStroke", 
       "(ILandroid/content/res/ColorStateList;FF)V", 
       "GetSetStroke_ILandroid_content_res_ColorStateList_FFHandler", 
       ApiSince=21)]
    public virtual void SetStroke( 
       int width,
       Android.Content.Res.ColorStateList colorStateList,
       float dashWidth,
       float dashGap
    )

    Parameters

    width
    colorStateList
    dashWidth
    dashGap
    See Also