TAILIEUCHUNG - Flash: ActionScript Language Reference- P6

Tham khảo tài liệu 'flash: actionscript language reference- p6', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Returns Nothing. Description Method indicates the beginning of a new drawing path. If the first parameter is undefined or if no parameters are passed the path has no fill. If an open path exists that is if the current drawing position does not equal the previous position specified in a method and it has a fill associated with it that path is closed with a line and then filled. This is similar to what happens when you call . This method fails if any of the following conditions exist The number of items in the colors alphas and ratios parameters are not equal. The fillType parameter is not linear or radial . Any of the fields in the object for the matrix parameter are missing or invalid. You can extend the methods and event handlers of the MovieClip class by creating a subclass. For more information see Assigning a class to a movie clip symbol in Using ActionScript in Flash. Example The following code uses both methods to draw two stacked rectangles with a red-blue gradient fill and a 5-pixel solid lime green stroke gradi ent_mc 1 with gradient_mc colors 0xFF0000 0X0000FF alphas 100 100 ratios 0 0xFF lineStyle 5 0x00ff00 matrix a 500 b 0 c 0 d 0 e 200 f 0 g 350 h 200 1 1 beginGradientFill linear colors alphas ratios matrix moveTo 100 100 lineTo 100 300 lineTo 600 300 lineTo 600 100 lineTo 100 100 endFill matrix matrixType box x 100 y 310 w 500 h 200 r 0 180 beginGradientFill linear colors alphas ratios matrix moveTo 100 310 lineTo 100 510 lineTo 600 510 lineTo 600 310 lineTo 100 310 501 endFill See also 502 Chapter 2 ActionScript Language Reference Availability Flash Player 6. Usage Void Parameters None. Returns Nothing. Description Method removes all the graphics created during runtime using the movie clip draw methods including line styles specified .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.