All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jetbrains.kotlinx.ggdsl.ir.scale.Scale.kt Maven / Gradle / Ivy

There is a newer version: 0.4.0-dev-15
Show newest version
/*
* Copyright 2020-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/

package org.jetbrains.kotlinx.ggdsl.ir.scale

/**
 * Scale base interface. Scale wraps a function that converts
 * a value from a data source into some geometric value (value of aesthetic attribute).
 */
public sealed interface Scale

/**
 * Continuous scale interface. Continuous scale wraps a function
 * that acts from one segment to another.
 */
public interface ContinuousScale : Scale {
    public val transform: Transform?
}

/**
 * Categorical scale interface. Categorical scale wraps a function
 * that acts from one finite set to another.
 */
public interface CategoricalScale : Scale




© 2015 - 2025 Weber Informatics LLC | Privacy Policy