Searched refs:pixelRound (Results 1 – 15 of 15) sorted by relevance
9 ## pixelRound section11 pixelRound(value: PixelRoundPolicy)49 当父组件出现1px的缝隙时,应利用pixelRound来指导布局调整。77 .pixelRound({85 .pixelRound({97 在本示例中,当取消像素取整功能(即不设置父子组件上的pixelRound属性)后,初始状态表现为正常。用户可通过点击按钮来增加父组件的宽度,当前示例父组件宽度为301.2px,以此测试在不同宽度下的…99 **图1** 采用pixelRound指导布局效果图103 **图2** 不用pixelRound指导布局效果图
510 …两个blendMode所在组件大小严格相同。如果确认相同,可能是组件边界落在浮点数坐标上导致,可尝试设置[pixelRound](ts-universal-attributes-pixelRoun…570 .pixelRound({585 .pixelRound({
314 > 由于浮点数计算精度,设置sticky后,在List滑动过程中小概率产生缝隙,可以通过[pixelRound](ts-universal-attributes-pixelRound.md#pixe…
3 …ble system pixel rounding for individual components by simply setting the **pixelRound** attribute.9 ## pixelRound section11 pixelRound(value: PixelRoundPolicy)49 This example shows how to use **pixelRound** to guide layout adjustments when there is a 1 px gap i…77 .pixelRound({85 .pixelRound({97 In this example, when pixel rounding is initially disabled (that is, the **pixelRound** attribute i…99 **Figure 1** Layout with pixelRound103 **Figure 2** Layout without pixelRound
499 …rdinates. In this case, set the universal attribute [pixelRound](ts-universal-attributes-pixelRoun…559 .pixelRound({574 .pixelRound({
314 …scrolling. To address this issue, you can apply the [pixelRound](ts-universal-attributes-pixelRoun…
123 白线、暗线通常是因为相邻的同色控件边界落在了浮点数坐标上,图形层做了抗锯齿处理,视觉上产生了一条白线或暗线。可以通过pixelRound通用属性设置,130 .pixelRound({end: PixelRoundCalcPolicy.FORCE_CEIL})
123 …g is performed at the graphics layer. To fix this issue, set the universal attribute **pixelRound**130 .pixelRound({end: PixelRoundCalcPolicy.FORCE_CEIL})
300 auto pixelRound = static_cast<uint16_t>(PixelRoundPolicy::FORCE_FLOOR_TOP) | in SearchButtonMeasure() local302 buttonLayoutProperty->UpdatePixelRound(pixelRound); in SearchButtonMeasure()
94 - [组件级像素取整](arkui-ts/ts-universal-attributes-pixelRound.md)
94 - [Component-Level Pixel Rounding](arkui-ts/ts-universal-attributes-pixelRound.md)
4661 pixelRound(value:PixelRoundPolicy): this {
2219 - [组件级像素取整](reference/apis-arkui/arkui-ts/ts-universal-attributes-pixelRound.md)
2105 …omponent-Level Pixel Rounding](reference/apis-arkui/arkui-ts/ts-universal-attributes-pixelRound.md)
4426 pixelRound(value) { method in ArkComponent