ImageFill
চিত্রের উপস্থাপনাকে প্রভাবিত করার জন্য সম্ভাব্য চিত্র প্রদর্শনের বিকল্প। যখন ছবির আকৃতির অনুপাত ছবির কন্টেইনারের আকৃতির অনুপাতের সাথে মেলে না তখন এটি ব্যবহার করা উচিত।
এনামস |
---|
UNSPECIFIED | ইমেজফিল অনির্দিষ্ট। |
GRAY | ধূসর বার দিয়ে ইমেজ এবং ইমেজ কন্টেইনারের মধ্যে ফাঁকগুলি পূরণ করুন। |
WHITE | সাদা বার দিয়ে ইমেজ এবং ইমেজ কন্টেইনারের মধ্যে ফাঁক পূর্ণ করুন। |
CROPPED | চিত্রটি এমনভাবে স্কেল করা হয়েছে যাতে চিত্রের প্রস্থ এবং উচ্চতা ধারক মাত্রার সাথে মেলে বা অতিক্রম করে। স্কেল করা ছবির উচ্চতা কন্টেইনারের উচ্চতার চেয়ে বেশি হলে এটি ছবির উপরের এবং নীচে ক্রপ করতে পারে, অথবা স্কেল করা ছবির প্রস্থ কন্টেইনারের প্রস্থের চেয়ে বেশি হলে ছবির বাম এবং ডানে ক্রপ করতে পারে। এটি একটি 4:3 ভিডিও চালানোর সময় একটি ওয়াইডস্ক্রিন টিভিতে "জুম মোড" এর মতো। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Image display options control how an image is presented within its container, especially when aspect ratios differ."],["Options include filling the surrounding space with gray or white bars or cropping the image to fit."],["`CROPPED` scales the image to fill the container, potentially cropping parts that extend beyond its boundaries, similar to \"Zoom Mode\" on a widescreen TV."],["Developers can choose an option to optimize image presentation based on the specific needs of their website or application."]]],["The provided information outlines image display options when an image's aspect ratio differs from its container. `GRAY` and `WHITE` options fill the resulting gaps with gray or white bars, respectively. `CROPPED` scales the image to match or exceed container dimensions, potentially cropping the top/bottom or left/right edges. An `UNSPECIFIED` option exists, but its behavior is undefined. These settings control how the image is presented within its designated container.\n"]]