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

public abstract Class YGBaselineFunc

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

Type


float (*invoke) (
    YGNodeRef node,
    float width,
    float height
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static YGBaselineFunc

Returns:

the new YGBaselineFunc
create
(long functionPointer)

Creates a YGBaselineFunc instance from the specified function pointer.

public static YGBaselineFunc
create(YGBaselineFuncI instance)

Creates a YGBaselineFunc instance that delegates to the specified YGBaselineFuncI instance.

public static YGBaselineFunc
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

YGBaselineFuncback to summary
protected YGBaselineFunc()
YGBaselineFuncback to summary
pack-priv YGBaselineFunc(long functionPointer)

Method Detail

createback to summary
public static YGBaselineFunc create(long functionPointer)

Creates a YGBaselineFunc instance from the specified function pointer.

Returns:YGBaselineFunc

the new YGBaselineFunc

createback to summary
public static YGBaselineFunc create(YGBaselineFuncI instance)

Creates a YGBaselineFunc instance that delegates to the specified YGBaselineFuncI instance.

createSafeback to summary
public static YGBaselineFunc createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

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

private final Class YGBaselineFunc.Container

extends YGBaselineFunc
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final YGBaselineFuncI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public float
invoke(long node, float width, float height)

Implements org.lwjgl.util.yoga.YGBaselineFuncI.invoke.

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

Field Detail

delegateback to summary
private final YGBaselineFuncI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public float invoke(long node, float width, float height)

Implements org.lwjgl.util.yoga.YGBaselineFuncI.invoke.

Annotations
@Override