Files
yoga/java/com/facebook/yoga/YogaMeasureFunction.kt
Nivaldo Bondança 4e75c24b99 Codemod format for trailing commas incoming change [5/n]
Summary: Adding trailing commas.

Differential Revision: D80174965
2025-08-13 12:21:19 -07:00

20 lines
501 B
Kotlin

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.yoga
public fun interface YogaMeasureFunction {
/** Return a value created by YogaMeasureOutput.make(width, height); */
public fun measure(
node: YogaNode,
width: Float,
widthMode: YogaMeasureMode,
height: Float,
heightMode: YogaMeasureMode,
): Long
}