次の方法で共有


Paint.StrikeThruPosition Property

Definition

Distance from top of the strike-through line to the baseline in pixels.

public virtual float StrikeThruPosition { [Android.Runtime.Register("getStrikeThruPosition", "()F", "GetGetStrikeThruPositionHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getStrikeThruPosition", "()F", "GetGetStrikeThruPositionHandler", ApiSince=29)>]
member this.StrikeThruPosition : single

Property Value

the position of the strike-through line in pixels

Attributes

Remarks

Distance from top of the strike-through line to the baseline in pixels.

The result is negative for positions that are above the baseline. This method returns where the strike-through line should be drawn independent of if the #STRIKE_THRU_TEXT_FLAG bit is set.

Java documentation for android.graphics.Paint.getStrikeThruPosition().

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