Package pi.graphics
Interface RenderSource
- All Known Implementing Classes:
ActorRotationDemo,ActorSetFixtureFromStringDemo,AllDialogsDemo,AnimationDemo,ApplyForceDemo,ApplyImpulseDemo,ApplyRotationImpulseDemo,ApplyTorqueDemo,BallThrowDemo,BaseScene,BaseScene,BasketballThrowDemo,BillardDemo,BlockDebugScene,CameraDemo,CameraDemo,CarDemo,CircleDemo,CollisionTest,ColorContainerVisualizerDemo,ColorDemo,ColorVariationsDemo,ColorWheelIttenDemo,CopyrightScene,DensityDemo,DepthFirstSearchDemo,DistanceJointDemo,DudeDemo,ForceKlickEnvironment,FrameUpdateListenerDemo,FrictionDemo,FroggyJump,GetMousePositionDemo,GhostsDebugScene,GraphCollectionDemo,GraphDrawerDemo,GravityDemo,GridDebugScene,GridDemo,GroupDemo,HelloWorldVersion1,HelloWorldVersion2,ImageAverageColorDemo,ImageDemo,ImageFontSpecimenDemo,ImageFontTextAlignmentDemo,ImageFontTextColorDemo,ImageFontTextDemo,ImageFontTextMultilineDemo,ImageFontTextSetContentDemo,ImpulseDemo,IngameScene,IngameScene,InstantModeDisabled,InstantModeDisabledByStaticBlock,InstructionScene,ItemMapPainterTest,JointDemo,JukeboxDemo,JukeboxTetrisDemo,KeyEventDemo,KeyEventDisplayDemo,KeyStrokeCounterDemo,KeyStrokeListenerAsAnonymousClassDemo,KeyStrokeListenerAsLambdaDemo,KeyStrokeListenerAsNormalClassDemo,LayerDemo,LevelsScene,LineDemo,LineRandomDemo,ListenerOnActorsDemo,LogoDemo,MainMenuScene,MainScene,MarbleDemo,MinimalDemo,OverlayDemo,PaintingCirclesAdvancedDemo,PaintingCirclesDemo,PaintingSurfaceDemo,PaintingSurfaceScene,ParticlesDemo,PeriodicTaskExecutorDemo,PongTable,PressedKeyRepeaterDemo,PrismaticJointDemo,RectangleDemo,RepeatDemo,RestitutionDemo,RevolteJointSeesawDemo,RevoluteJointDemo,RopeJointDemo,RotationDemo,Scene,SceneInfoOverlayDemo,ScreenshotDemo,SetPixelMultiplicationDemo,SingleTetrominoDebugScene,SnakeAdvanced,SnakeMinimal,SnakeScene,StarDemo,StatefulAnimationDemo,StatefulAnimationDemo,StaticKeyStrokeListenerDemo,SubMenuScene,TetrominoDebugScene,TetrominoWithoutGridScene,TextAllSystemFonts,TextDebugScene,TextDemo,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.
-