Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Interview-Questions repainting and clipping

Have Programming Question? Ask it here!
 
 
 


samar
repainting and clipping
1 Answer(s)      3 years and 10 months ago
Posted in : Java Interview Questions


What is the relationship between clipping and repainting?

Advertisement
View Answers

October 26, 2010 at 4:40 PM


Hi,

Here is the answer.

Clipping is the process of confining paint operations to a limited area or shape. Clipping regions are set to the repinted window on the area that requires repainting.

When a window is repainted by the AWT painting thread, it sets the clipping regions tothe area of the window that requires repainting.

Thanks.



Related Tutorials/Questions & Answers:
repainting and clipping
repainting and clipping  What is the relationship between clipping and repainting
Clipping
Clipping   hii, What is clipping?   hii Clipping is the process of confining paint operations to a limited area or shape
Advertisements
clipping in java
clipping in java  What is clipping
Clip Area
; This section illustrates you how to show the clipping of Area. A Clip... shows the clipping of area. In the given example, we have defined two buttons.... The method setClip() sets the clipping area to clip the shape.  Here
Draw Clip Area Using Canvas
Draw Clip Area Using Canvas       This Example is going to draw a clip with SOLID line. In this picture only solid line show the clipping area. To draw a solid line, we have
Core Java Interview Question, Interview Question
about an object's design. Question: What is the relationship between clipping and repainting? Answer: When a window is repainted by the AWT painting thread, it sets the clipping regions to the area of the window that requires repainting
Java Programming: Section 7.1
the rect. } Rectangles, Clipping, and Repainting The example we've... might need to be changed. It's possible to improve on this by repainting only... drags the mouse, clipping is used to restrict the drawing to the region
Core Java Interview Question, Interview Question
Core Java Interview Question Page 14       Question: What is clipping? Answer: Clipping is the process of confining paint operations to a limited area or shape. Question
Coding errors for printing function, please help
values in the PageFormat to avoid clipping */ Graphics2D g2d
Show Clippings
;{   JFrame f = new Clipping();   f.show...;implements ActionListener {   public Clipping() {   
Palm Open Source
that has a recent version of the operating system and the Web Clipping libraries... on its pared-down "Web clipping" approach.  pssh: SSH 2 for Palm
You Tube
maximum 15 minutes long video clipping at one time, while standard account holders
Java questionnaire
?   Page 14 What is clipping?   Page 15
Outlining the font
setClip(shape) sets the clipping of text specified as shape. Following code outlines
Core Java Interview Question, Interview Question
Question Page 14 What is clipping?   Core Java Interview
Show Icon Displayer
() gets a rectangle and encloses the clipping region of the Graphics object. To give...;= insets.left) {   rect1.setBounds(p, q, iconWidth...(rect2)) {   icon.paintIcon(this, g2, p, q);  
Java Programming: Solution to Programming Exercise
are willing to let your applet be a little less efficient about repainting, you... repainting. The picture is lost if the applet changes size, however
Java Programming: Chapter 7 Exercises
are willing to let your applet be a little less efficient about repainting, you
J2ME Tutorial
solid line show the clipping area.   Draw Clip Area Using... only solid line show the clipping area.    Player Class
Collection of Large Number of Java Interview Questions!
Question Page 14 What is clipping?  
Java Programming: Solution to Programming Exercise
is used to refresh the screen when repainting. The frame is made non..."); quitItem.setAccelerator( KeyStroke.getKeyStroke("ctrl Q
Open Source Browser
, Clipping planes, Picking Utilities, Abstract Device IO. New profiles include
 

 

 

DMCA.com