循环的下一部分控制像素坐标的设置,条件是当前时间帧在起始帧之后。
The next loop section controls setting pixels coordinates only if the frame at that position is greater than the start frame.
图像的高度和宽度的最大值被设置为 150像素,但是保持高宽比例不变,因此图像没有变形。
The height and width are maxed out at 150 pixels, but the ratio of the height-to-width is preserved so the images are not distorted.
对于id列将宽度设置为50(像素)。
在右下部设置了1个像素的高光。
例如,一个iPhone的屏幕尺寸为320x480,但有趣的是,浏览器设置的网页的默认宽度为980像素。
For example, an iPhone's screen dimensions are 320x480. Interestingly, the browser sets the default width of Web pages to 980 pixels.
搜索框和按钮的宽度是190像素,这会设置logo的宽度。
The search box and button are 190 pixels wide, which sets the width for a logo.
代码的下一部分将读取EchoTops图像并根据图像中每个像素的颜色记录相应高度设置。
The next section of code will read the Echo Tops image and record the appropriate setting of altitude based on the color of each pixel in the image.
在找到最接近的匹配后,该像素的高度设置存储在%hgt散列变量中。
Once the closest match has been found, that pixels' altitude setting is stored in the % HGT hash variable.
开发人员:通过使用CSS按百分比或em值设置应用程序的字体大小来避免文本大小问题,如没有其他选择,也可以使用像素大小。
Developers: Avoid text size problems by using CSS to set the application's font size in either percentages or em unit values. As a last resort, use pixel sizes.
对于这两种设置所给出的屏幕大小,freamebuffer设备都会报告分辨率为 576x384像素;稍后会对此作更多介绍。
Either of these will give you a screen size reported as 576x384 pixels by the framebuffer device; more on that a little later.
要去除这些边框,设置-outline属性为与填充色相同即可;要加宽边框,使用- width属性来指定宽度(用像素表示)。
To remove these borders, set the -outline property to be the same as the fill color; to widen the borders, use the -width property to specify their width in pixels.
panel类将把元素的边界设为设备框的大小,添加10个像素的填充,并且设置页面的背景颜色和条纹。
The panel class sets the element's border to the size of the device box, adds 10 pixels of padding, and puts the background color and pinstripes on the page.
在这个程序中,和前一程序一样,首先创建一个主窗口,并且设置窗口的宽和高为 $size像素。
Here we've created a MainWindow as before and configured it to be $size pixels wide and high.
我已经将list元素设置为左缩进30px,假如你要顶端对齐,则将缩进像素数归零。
I've also re-indented list items by 30 pixels on the left, so if you want hanging bullets, be sure to set that back to zero.
Blueprint将整个页面的线高度设置为18像素,因此每个图像和文本都必须是18像素的倍数。
Blueprint sets the line height for the entire page to 18 pixels, so every image and variant of text must be a multiple of 18 pixels.
这些值以像素为单位,是在主选项卡文件夹定义屏幕中设置的(图35)。
These values are in pixels and are set in the main tabbed folder definition screen (Figure 35).
宽度取决于标志图像的大小,而高度可以随意按像素大小设置。
The width depends on the size of the banner image and the height is arbitrarily set to a number of pixels.
令人惊讶的是,last并未明确强制重新配置其后的任何元素;它仅仅将右边距设置为0,这将覆盖span - n中10像素的默认右边距设置。
Surprisingly, last does not force a clear to reposition any elements that follow; it merely sets the right margin to 0, which overrides the default right margin of 10 pixels in span-n.
设置这个样式以在标题下方5个像素处反射标题,并对倒影应用一个渐变效果。
This style is set to reflect the heading five pixels below it, with a gradient effect applied to the reflection.
您在配料清单中看到的row类将设置42像素高的块,该块适用于圆角矩形内的一叠行中的一行。
The row class, seen in the ingredient listing, sets a 42-pixel high block, suitable for a single line in a stack of lines inside a rounded rectangle.
无效的每像素数据位设置。
在本例中,我们创建了一个颜色实例并用它来设置显示窗口内的某个像素点(参见清单2和图3中的cellb)。
In this case, you create a color instance and use it to set a particular pixel within the display window (see Listing 2 and Figure 3, cell b).
设置一个层,使所有的不透明度为50% half - visible像素。
Setting a layer to 50% opacity makes all of its pixels half-visible.
阈值设置为200年导致图像加载之前出现在视窗200像素。
Setting threshold to 200 causes image to load 200 pixels before it appears on viewport.
我们将它的 spacing 变量设置为50,因此它将在所包含的每个对象之间放置 50 个像素。
We set its spacing var to 50, so it will put 50 pixels between each object that it contains.
应用代码,您可以设置如何四周的鸿沟图像的像素,是被零丁留在家中。
With the code, you are able to set how many pixels of the image around the border, are to be left alone.
复制街灯,设置前景色为黑色,锁定图层的透明像素后填充黑色。
Duplicate the lamp, set your foreground color to black and fill the lamp copy locking transparent pixels.
GalaxyNexus的前面板与Nexuss很相似,覆盖了一块曲面强化玻璃。传感器和130万像素的前置摄像头被设置在了听筒的右侧。
In front, the Galaxy Nexus is almost identical to the Nexus s, with a sheet of "reinforced" curved glass hiding sensors and a 1.3 megapixel front-facing camera to the right of the earpiece.
请注意,这是非常重要的设置相机的胶片回来大小正确如果焦距测量在任何单位除了像素被进入。
Note that it is very important to set the camera film back size correctly if focal length measurements in any units other than pixels are being entered.
在质量设置中调整像素灯光的数量。只有平行光应该是逐像素的,其他所有都应该是逐顶点的。当然,这取决于游戏。
Adjust pixel light count in quality Settings. Essentially only the directional light should be per pixel, everything else - per vertex. Certainly this depends on the game.
应用推荐