Class TextRotation
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
পাঠ্য ঘূর্ণন একটি কক্ষের জন্য পাঠ্য ঘূর্ণন সেটিংস অ্যাক্সেস করুন৷
পদ্ধতি
পদ্ধতি | রিটার্ন টাইপ | সংক্ষিপ্ত বিবরণ |
---|
get Degrees() | Integer | স্ট্যান্ডার্ড টেক্সট ওরিয়েন্টেশন এবং বর্তমান টেক্সট ওরিয়েন্টেশনের মধ্যে কোণ পায়। |
is Vertical() | Boolean | টেক্সট উল্লম্বভাবে স্ট্যাক করা হলে true ফেরত দেয়; অন্যথায় false ফেরত দেয়। |
বিস্তারিত ডকুমেন্টেশন
get Degrees()
স্ট্যান্ডার্ড টেক্সট ওরিয়েন্টেশন এবং বর্তমান টেক্সট ওরিয়েন্টেশনের মধ্যে কোণ পায়। বাম-থেকে-ডান পাঠ্যের জন্য, ধনাত্মক কোণগুলি ঘড়ির কাঁটার বিপরীত দিকে থাকে। যদি পাঠ্যটি উল্লম্বভাবে স্ট্যাক করার জন্য সেট করা থাকে, এই পদ্ধতিটি 0
প্রদান করে।
প্রত্যাবর্তন
Integer
— স্ট্যান্ডার্ড টেক্সট রোটেশন এবং বর্তমান টেক্সট রোটেশনের মধ্যে ডিগ্রী।
is Vertical()
টেক্সট উল্লম্বভাবে স্ট্যাক করা হলে true
ফেরত দেয়; অন্যথায় false
ফেরত দেয়।
প্রত্যাবর্তন
Boolean
— টেক্সট উল্লম্বভাবে স্ট্যাক করা আছে কি না।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003eTextRotation\u003c/code\u003e allows you to control the rotation settings of text within a cell.\u003c/p\u003e\n"],["\u003cp\u003eYou can access the angle of rotation using \u003ccode\u003egetDegrees()\u003c/code\u003e and check for vertical stacking using \u003ccode\u003eisVertical()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetDegrees()\u003c/code\u003e returns an integer representing the angle, while \u003ccode\u003eisVertical()\u003c/code\u003e returns a boolean indicating vertical or horizontal orientation.\u003c/p\u003e\n"]]],[],null,["# Class TextRotation\n\nTextRotation\n\nAccess the text rotation settings for a cell. \n\n### Methods\n\n| Method | Return type | Brief description |\n|-------------------------------|-------------|------------------------------------------------------------------------------------|\n| [getDegrees()](#getDegrees()) | `Integer` | Gets the angle between standard text orientation and the current text orientation. |\n| [isVertical()](#isVertical()) | `Boolean` | Returns `true` if the text is stacked vertically; returns `false` otherwise. |\n\nDetailed documentation\n----------------------\n\n### `get``Degrees()`\n\nGets the angle between standard text orientation and the current text orientation. For\nleft-to-right text, positive angles are in the counterclockwise direction. If the text is set\nto stack vertically, this method returns `0`.\n\n#### Return\n\n\n`Integer` --- The degrees between standard text rotation and the current text rotation.\n\n*** ** * ** ***\n\n### `is``Vertical()`\n\nReturns `true` if the text is stacked vertically; returns `false` otherwise.\n\n#### Return\n\n\n`Boolean` --- Whether or not the text is stacked vertically."]]