WormholeSwing

An implementation of [AbstractWormhole2D] for Swing.

Parameters

<P>

the type of the position

Inheritors

Constructors

Link copied to clipboard
constructor(environment: Environment<out Any, P>, component: Component)

Properties

Link copied to clipboard
Link copied to clipboard
protected open var rotation: Double
Link copied to clipboard
open var zoom: Double

Functions

Link copied to clipboard
open fun center()
Link copied to clipboard
open fun getEnvPoint(viewPoint: Point): P
Link copied to clipboard
open fun getViewPoint(envPoint: P): Point
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isInsideView(viewPoint: Point): Boolean
Link copied to clipboard
open fun optimalZoom()
Link copied to clipboard
open fun rotateAroundPoint(p: Point, a: Double)
Link copied to clipboard
open fun setEnvPosition(envPoint: P)
Link copied to clipboard
open fun setViewPosition(viewPoint: Point)
Link copied to clipboard
open fun zoomOnPoint(point: Point, zoomRate: Double)