ee.Projection.scale
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחזירה את ההטלה ששונתה בהתאם לסכום שצוין בכל ציר.
שימוש | החזרות |
---|
Projection.scale(x, y) | היטל |
ארגומנט | סוג | פרטים |
---|
זה: projection | היטל | |
x | מספר ממשי (float) | הסכום שלפיו יבוצע שינוי קנה המידה בציר ה-x. |
y | מספר ממשי (float) | הסכום שלפיו יתבצע שינוי הגודל בציר ה-y. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eReturns a modified Projection with scaling applied to its x and y axes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003escale\u003c/code\u003e method takes two arguments: \u003ccode\u003ex\u003c/code\u003e for horizontal scaling and \u003ccode\u003ey\u003c/code\u003e for vertical scaling, both of which are float values.\u003c/p\u003e\n"],["\u003cp\u003eThis method can be used to adjust the size or dimensions of the projection without changing its other properties.\u003c/p\u003e\n"]]],[],null,["# ee.Projection.scale\n\nReturns the projection scaled by the given amount in each axis.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------|------------|\n| Projection.scale`(x, y)` | Projection |\n\n| Argument | Type | Details |\n|--------------------|------------|---------------------------------------|\n| this: `projection` | Projection | |\n| `x` | Float | The amount to scale by in the x axis. |\n| `y` | Float | The amount to scale by in the y axis. |"]]