Perl in a Nutshell phần 10

gần nhất Tìm mục gần nhất với quy định x, y phối hợp. kèm theo Tìm tất cả các mục đó là hoàn toàn kèm theo trong hộp ranh giới quy định. chồng chéo Tìm tất cả các mục mà thậm chí còn một phần bên trong hộp ranh giới quy định. withtag Tìm tất cả các mục có thẻ quy định. | Chapter 18 The Canvas Widget closest Finds the item closest to the specified x y coordinate. enclosed Finds all items that are completely enclosed within the specified bounding box. overlapping Finds all items that are even partially inside the specified bounding box. withtag Finds all items with the specified tag. gettags Retrieves a list of all tags associated with an item. type Determines the type of the specified item. focus Assigns the keyboard focus to the specified item. postscript Renders the canvas as PostScript. Options are -colormap @colorcommand Specifies a PostScript command for setting color values. -colormode mode Sets the mode to color full color gray grayscale or mono black and white . -file filename The name of the file to store the PostScript output. -fontmap @fontspec Specifies a font name and point size. -height size The height of the area to print. -pageanchor position The anchor position of the page. Values are center default n e s and w . -pageheight height The height of the printed page. http documents oreilly perl perlnut 10 of 12 2 7 2001 10 38 00 PM Chapter 18 The Canvas Widget -pagewidth width The width of the printed page. -pagex x The x positioning point. -pagey y The y positioning point. -rotate boolean Whether to rotate to landscape orientation. Default is 0. -width size The width of the area to print. -x x The left edge of the canvas. -y y The top edge of the canvas. scale Changes the scaling of the canvas or any individual items. For example to scale the entire canvas to half its dimensions canvas- scale all 0 0 .5 .5 xview Manipulates the canvas area in view. With no arguments returns a list of two numbers between 0 and 1 defining what portion of the canvas is currently hidden on the left and right sides respectively. With arguments the function of xview changes moveto Moves the specified fraction of the text to the left of the visible portion. scroll Scrolls the canvas

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã 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.