refresh
V2EX  ›  问与答

left + width这个位置英文怎么表达?

  •  
  •   refresh · Jul 17, 2013 · 4286 views
    This topic created in 4861 days ago, the information mentioned may be changed or developed.
    一个矩形,x的位置可以叫x或left,宽度是width,那么右边离父容器的绝对位置,英文单词或短语怎么表达?即是x(left) + width的这个距离。
    7 replies  •  1970-01-01 08:00:00 +08:00
    GordianZ
    GordianZ
    Jul 17, 2013
    1
    x of the right side.
    refresh
    refresh
    OP
    Jul 17, 2013
    2
    @GordianZ 这么长,我想取个属性名呢 :)
    ritksm
    ritksm
    Jul 17, 2013
    3
    xoffset?
    Xg
    Xg
    Jul 17, 2013
    4
    rightX :D
    GordianZ
    GordianZ
    Jul 17, 2013
    5
    @refresh 属性名就用 @Xg 说的 rightX
    dorentus
    dorentus
    Jul 17, 2013
    6
    x-offset of the right edge
    refresh
    refresh
    OP
    Jul 17, 2013
    7
    @dorentus y + height就是bottomY?

    @dorentus 不适合作函数名或属性名
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1897 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 09:09 · PVG 17:09 · LAX 01:09 · JFK 04:09
    ♥ Do have faith in what you're doing.