Package pi.graphics
Interface RenderSource
- All Known Implementing Classes:
ActorBaseScene,ActorRotationDemo,ActorSetFixtureFromStringDemo,AlignmentDemo,AllDialogsDemo,AnimationDemo,ApplyForceDemo,ApplyImpulseDemo,ApplyRotationImpulseDemo,ApplyTorqueDemo,BallThrowDemo,BaseScene,BaseScene,BasketballThrowDemo,BillardDemo,BlockDebugScene,BoxActorFlipDemo,BoxActorPhysicsDemo,CameraDemo,CameraDemo,CarDemo,CircleDemo,CollisionTest,ColorContainerVisualizerDemo,ColorDemo,ColorDemo,ColorVariationsDemo,ColorWheelIttenDemo,ContentDemo,CopyrightScene,CounterDemo,CustomConfigGroupDemo,DensityDemo,DepthFirstSearchDemo,DirectedLineSegmentDemo,DistanceJointDemo,DudeDemo,ForceKlickEnvironment,FrameUpdateListenerDemo,FrictionDemo,FroggyJump,GetMousePositionDemo,GhostsDebugScene,GraphCollectionDemo,GraphDrawerDemo,GravityDemo,GridDebugScene,GridDemo,GroupDemo,HelloWorldDemo,HelloWorldVersion1,HelloWorldVersion2,ImageAverageColorDemo,ImageDemo,ImageDimensionDemo,ImpulseDemo,IngameScene,IngameScene,InstantModeDisabled,InstantModeDisabledByStaticBlock,InstructionScene,ItemMapPainterTest,JointDemo,JukeboxDemo,JukeboxTetrisDemo,KeyEventDemo,KeyEventDisplayDemo,KeyStrokeCounterDemo,KeyStrokeListenerAsAnonymousClassDemo,KeyStrokeListenerAsLambdaDemo,KeyStrokeListenerAsNormalClassDemo,LayerDemo,LevelsScene,LinePhysicsDemo,LineRandomDemo,ListenerOnActorsDemo,LoggingDemo,LogoDemo,MainMenuScene,MainScene,MarbleDemo,MinimalDemo,MultilineDemo,OverlayDemo,PaintingCirclesAdvancedDemo,PaintingCirclesDemo,PaintingSurfaceDemo,PaintingSurfaceScene,ParticlesDemo,PauseMenu,PeriodicTaskExecutorDemo,PolygonPhysicsDemo,PongTable,PressedKeyRepeaterDemo,PrismaticJointDemo,RectangleDemo,RepeatDemo,RestitutionDemo,RevolteJointSeesawDemo,RevoluteJointDemo,RopeJointDemo,RotationDemo,Scene,SceneInfoOverlayDemo,ScreenshotDemo,SetPixelMultiplicationDemo,SingleTetrominoDebugScene,SnakeAdvanced,SnakeMinimal,SnakeScene,SpecimenDemo,StarDemo,StatefulAnimationDemo,StatefulAnimationDemo,StaticKeyStrokeListenerDemo,StopWatchDemo,SubMenuScene,TetrominoDebugScene,TetrominoWithoutGridScene,TextAllSettersDemo,TextAllSystemFontsDemo,TextBlockDemo,TextBlockLineSpacingDemo,TextBlockPhysicsDemo,TextDebugScene,TextDemo,TextDimensionDemo,TextPhysicsDemo,TextRandomDemo,TextStyleDemo,TitleScene,TriangleDemo,TurtleScene,WeldJointDemo
public interface RenderSource
Definiert eine Methode, um in eine Fläche zu zeichnen.
Wird von der Scene implementiert.
-
Method Summary
Modifier and TypeMethodDescriptionvoidrender(Graphics2D g, int width, int height) Zeichnet in eine Fläche.
-
Method Details
-
render
Zeichnet in eine Fläche.- Parameters:
g- DasGraphics2D-Objekt, in das gezeichnet werden soll.width- Die Breite der Zeichenfläche in Pixel.height- Die Höhe der Zeichenfläche in Pixel.
-