In the CodeGuru forum to see an article on the design of graphics, feel very helpful. Write down the main points in this article to facilitate future viewing.
1. The constructor function of the base class shape class should be protected
Design a common base class shape for all shapes. A specific graphic class, such as Rectangle,circle, derives from the shape cla
Media Type: Media TypeA property in CSS2 that specifies the type of device that the page renders, commonly used:all, screen, print (printing), and multiple device types for projection, blindCitation method:1. 2. @import mode: @import URL (xx.css) screen (for: CSS file to introduce another CSS or 3. @media Mode: @media screen {...} (Features in CSS3)Media query: Press queriesCSS3 attribute, added new rule: Based on media type + CSS attribute rule definitionHow to use:1. 2. Text mode: @media scree
How CSS files are linked1. Additional links: external CSS files2. Import CSS: When multiple CSS files are used, import multiple CSS into one CSS fileThere are three types of CSS rules defined1, classes such as ". Redtext ",". Bluetext "and". BigText "Wait.2, the label for the original HTML tags to do the re-CSS definition3. Advanced pseudo-class, element with ID defined, and comprehensive definitionApplication of CSS Rules1, only "class" style needs to be applied, class= "XXXX". Any element can
);"> HR/> HR/> HR/> a> DivID= "Myhover">Div> Div>nav>CSS code:{ background:rgba (100,100,100,0.7); width:100%; position:fixed; height:@navHeight; top:0; z-index:+;}If you want the page to slide to not see the navigation bar when the navigation bar fixed at the top of the effect ~ to use JS real-time processing scrolling Events ~ When the scroll length is greater than the top navigation bar height, add the New
This article is for translation
Article , Full text address: http://diger.cn/article.asp? Id = 351
Address: http://www.filamentgroup.com/lab/buttonElement/
Particle tree recently published an article describing a technology that they came up with to design button elements. Table keys are notoriously difficult to customize for unskilled people. A typical solution is to use the default button provided by the browser or use a graphical input. When t
event is called event processing. When some events occur (click a button, text input, move the mouse, and so on ). We need to program to respond to these events. The following program binds the event of an object using the BIND () method (what is an object ?)
We created a window with a text box to show the mouse position, which helps us understand the event.
This program uses a text box to display the current position of the mouse. the user's mouse movement is an event, and some programs mu
-->
-->
Learning notes Java Graphic Design Volume I awt--3rd Chapter graphics
Before the monitor broke down, file://wrote preface: I think it is not to learn notes, like a tutorial. I wanted to get something, so I had a little detail.Note 1: User interface artifacts (such as buttons, lists, menus, dialog boxes, and so on) provided in AWT do not contain similar purely object drawing objects (such as line
Counter | design | graphic | Here's a nice graphics counter designed without CGI.
Here is divided into three parts: 1, the establishment of graphics files.
2, establish the database.
3, write the code.
1, create graphics files.
First, use the graph software to make 10 graphs to display the count
10 digits of the device: 1,2,3,4,5,6,7,8,9,0. If
You have the art talent and you can make better graphics.
2, est
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.