Top Description Inners Constructors Methods
org.lwjgl.util.yoga

public abstract Class YGMeasureFunc

extends Callback
implements YGMeasureFuncI
Class Inheritance
All Implemented Interfaces
org.lwjgl.util.yoga.YGMeasureFuncI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.util.yoga.YGMeasureFunc.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


YGSize (*invoke) (
    YGNodeRef node,
    float width,
    YGMeasureMode widthMode,
    float height,
    YGMeasureMode heightMode
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
YGMeasureFunc(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static YGMeasureFunc

Returns:

the new YGMeasureFunc
create
(long functionPointer)

Creates a YGMeasureFunc instance from the specified function pointer.

public static YGMeasureFunc
create(YGMeasureFuncI instance)

Creates a YGMeasureFunc instance that delegates to the specified YGMeasureFuncI instance.

public static YGMeasureFunc
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

YGMeasureFuncback to summary
protected YGMeasureFunc()
YGMeasureFuncback to summary
pack-priv YGMeasureFunc(long functionPointer)

Method Detail

createback to summary
public static YGMeasureFunc create(long functionPointer)

Creates a YGMeasureFunc instance from the specified function pointer.

Returns:YGMeasureFunc

the new YGMeasureFunc

createback to summary
public static YGMeasureFunc create(YGMeasureFuncI instance)

Creates a YGMeasureFunc instance that delegates to the specified YGMeasureFuncI instance.

createSafeback to summary
public static YGMeasureFunc createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.util.yoga back to summary

private final Class YGMeasureFunc.Container

extends YGMeasureFunc
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final YGMeasureFuncI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, YGMeasureFuncI delegate)

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long node, float width, int widthMode, float height, int heightMode, YGSize __result)

Implements org.lwjgl.util.yoga.YGMeasureFuncI.invoke.

Inherited from org.lwjgl.util.yoga.YGMeasureFunc:
createcreatecreateSafe

Field Detail

delegateback to summary
private final YGMeasureFuncI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, YGMeasureFuncI delegate)

Method Detail

invokeback to summary
public void invoke(long node, float width, int widthMode, float height, int heightMode, YGSize __result)

Implements org.lwjgl.util.yoga.YGMeasureFuncI.invoke.

Annotations
@Override