ทำพื้นหลังง่ายๆ แต่หลากหลาย ด้วย Pattern
เรารู้จักการทำ Pattern และการเรียกใช้งานไปแล้วจากหัวข้อ การทำภาพลาย TV และ หัวข้อการทำลายตาราง การใช้ Pattern เหมาะกับการทำภาพที่ต้องทำซ้ำๆ หรือภาพที่เป็นพื้นหลัง เรามาลองใช้ pattern ทำภาพพื้นหลังหลายๆแบบดู
สร้างไฟล์ใหม่ File > New ขนาดประมาณ 40x40 pixel แล้วลองหาภาพเล็กๆมาใส่ หรือทำภาพมั่วๆ อะไรก็ได้ ดังตัวอย่างเหล่านี้




หลังจากนั้นทำให้เป็น Pattern โดยไปที่ Edit > Define Pattern... แล้วตั้งชื่อตามต้องการ หลังจากนั้น สร้างไฟล์ใหม่ขนาด 200x200 pixel แล้วใช้คำสั่ง Fill โดยไปที่ Edit > Fill... แล้วเรียก Pattern ที่สร้างไว้ขึ้นมา ก็จะได้ดังภาพ




จะเห็นว่า เราใช้เวลาเล็กน้อยในการสร้างภาพเล็กๆ ก็สามารนำไปใช้เป็น background ได้ มาลองดูตัวอย่าง การใช้ pattern ทำ background แบบต่างๆ ให้กับภาพ




ทำพื้นหลังง่ายๆ แต่หลากหลาย ด้วย Pattern
[IMG]
[IMG]