blockly > thrasos > RenderInfo > getElemCenterline_
طريقة thrasos.RenderInfo.getElemCenterline_()
Signature:
getElemCenterline_(row: Row, elem: Measurable): number;
المعلمات
المرتجعات:
الرقم
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-08 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-08 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `thrasos.RenderInfo.getElemCenterline_()` method calculates and returns the centerline of a specific element within a row during the rendering process of Blockly blocks."],["This method takes a `Row` and a `Measurable` element as input to determine the element's centerline position."],["The returned value, a number, represents the vertical center of the element relative to the row it belongs to."]]],[]]