首页 > 分享 > point(inside:with:)

point(inside:with:)

UIKit UIView point(inside:with:)

Instance Method

Returns a Boolean value indicating whether the receiver contains the specified point.

iOSiPadOSMac CatalysttvOSvisionOS

@MainActor func point( inside point: CGPoint, with event: UIEvent? ) -> Bool

Parameters

point

A point that is in the receiver’s local coordinate system (bounds).

event

The event that warranted a call to this method. If you are calling this method from outside your event-handling code, you may specify nil.

Return Value

true if point is inside the receiver’s bounds; otherwise, false.

See Also

Hit-testing in a view

func hitTest(CGPoint, with: UIEvent?) -> UIView?

Returns the farthest descendant in the view hierarchy of the current view, including itself, that contains the specified point.

Current page is point(inside:with:)

相关知识

point lace是什么意思
詹姆斯-利马创作《Prada Inside Me》动画
若有语句int *point , a=4; 和 poin
Safr’inside藏红花提取物:后疫情时代的心理良药
American Horror Stories《美国恐怖故事集(2021)》第一季第五集完整中英文对照剧本.docx
CHIRPS
城市森林冠层对小气候调节作用
《程序喵》有更新了新的资源
[情人节专属]纯js脚本3D玫瑰
代码生成的3D情人节玫瑰花:JavaScript的创意应用

网址: point(inside:with:) https://m.huajiangbk.com/newsview1213070.html

所属分类:花卉
上一篇: 苹果宣传视频隐藏彩蛋:利用蓝屏页
下一篇: 高考英语大一轮复习 高考真题题组