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

commonMain.jetbrains.datalore.plot.builder.FigureBuildInfo.kt Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2023. JetBrains s.r.o.
 * Use of this source code is governed by the MIT license that can be found in the LICENSE file.
 */

package jetbrains.datalore.plot.builder

import jetbrains.datalore.base.geometry.DoubleRectangle
import jetbrains.datalore.plot.builder.layout.figure.FigureLayoutInfo

interface FigureBuildInfo {
    val isComposite:Boolean
    val bounds: DoubleRectangle
    val computationMessages: List
    val containsLiveMap: Boolean
    val layoutInfo: FigureLayoutInfo

    fun createSvgRoot(): FigureSvgRoot

    fun injectLiveMapProvider(f: (tiles: List>, spec: Map) -> Any)

    fun withBounds(bounds: DoubleRectangle): FigureBuildInfo

    fun layoutedByOuterSize(): FigureBuildInfo

    fun layoutedByGeomBounds(geomBounds: DoubleRectangle): FigureBuildInfo
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy