refresh
V2EX  ›  问与答

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

  •  
  •   refresh · Jul 17, 2013 · 3919 views
    This topic created in 4708 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
        1
    GordianZ  
       Jul 17, 2013
    x of the right side.
    refresh
        2
    refresh  
    OP
       Jul 17, 2013
    @GordianZ 这么长,我想取个属性名呢 :)
    ritksm
        3
    ritksm  
       Jul 17, 2013
    xoffset?
    Xg
        4
    Xg  
       Jul 17, 2013
    rightX :D
    GordianZ
        5
    GordianZ  
       Jul 17, 2013
    @refresh 属性名就用 @Xg 说的 rightX
    dorentus
        6
    dorentus  
       Jul 17, 2013
    x-offset of the right edge
    refresh
        7
    refresh  
    OP
       Jul 17, 2013
    @dorentus y + height就是bottomY?

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