次の方法で共有


GradientDrawable.ThicknessRatio Property

Definition

Return the thickness ratio of the ring expressed as a ratio of the ring's width. -or- Configure the thickness of the ring expressed as a ratio of the ring's width.

public virtual float ThicknessRatio { [Android.Runtime.Register("getThicknessRatio", "()F", "GetGetThicknessRatioHandler", ApiSince=29)] get; [Android.Runtime.Register("setThicknessRatio", "(F)V", "GetSetThicknessRatio_FHandler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getThicknessRatio", "()F", "GetGetThicknessRatioHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setThicknessRatio", "(F)V", "GetSetThicknessRatio_FHandler", ApiSince=29)>]
member this.ThicknessRatio : single with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Return the thickness ratio of the ring expressed as a ratio of the ring's width.

Java documentation for android.graphics.drawable.GradientDrawable.getThicknessRatio().

Property setter documentation:

Configure the thickness of the ring expressed as a ratio of the ring's width.

Java documentation for android.graphics.drawable.GradientDrawable.setThicknessRatio(float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to