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(p: Point): P
Link copied to clipboard
open fun getViewPoint(p: P): Point
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isInsideView(p: Point): Boolean
Link copied to clipboard
open fun optimalZoom()
Link copied to clipboard
open fun rotateAroundPoint(p: Point, p1: Double)
Link copied to clipboard
open fun setEnvPosition(p: P)
Link copied to clipboard
open fun setViewPosition(p: Point)
Link copied to clipboard
open fun zoomOnPoint(p: Point, p1: Double)