Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions java/com/facebook/yoga/YogaConfig.java

This file was deleted.

33 changes: 33 additions & 0 deletions java/com/facebook/yoga/YogaConfig.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* 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 abstract class YogaConfig {
public abstract fun setExperimentalFeatureEnabled(
feature: YogaExperimentalFeature,
enabled: Boolean
)

public abstract fun setUseWebDefaults(useWebDefaults: Boolean)

public abstract fun setPointScaleFactor(pixelsInPoint: Float)

public abstract fun setErrata(errata: YogaErrata)

public abstract fun getErrata(): YogaErrata

public abstract fun setLogger(logger: YogaLogger)

public abstract fun getLogger(): YogaLogger

protected abstract fun getNativePointer(): Long

public companion object {
public var SPACING_TYPE: Int = 1
}
}
Loading