ui邊框設計圖_UI設計形狀和對象基礎知識:填充和邊框

ui邊框設計圖

第2部分 (Part 2)

Welcome to the second part of the UI Design shapes basics. This time we’ll cover two of the most essential properties of a shape — fills and borders. This is also a part of the free chapters from Designing User Interfaces.

歡迎使用UI設計形狀基礎的第二部分。 這次,我們將介紹形狀的兩個最重要的屬性-填充和邊框。 這也是《 設計用戶界面 》中免費章節的一部分。

填充 (Fills)

As we have stated in part 1 of this series, most of UI design is about moving rectangles around. So let’s start with a humble rectangle. In most design tools you can draw it by pressing the R key.

正如我們在本系列的第1部分中所述,大多數UI設計都是圍繞移動矩形 。 因此,讓我們從一個不起眼的矩形開始。 在大多數設計工具中,您可以通過按R鍵來繪制它。

When you create a new rectangle, it usually already has a fill attached to it. In most cases it’s simply grey, so you will remember to change the color yourself. Sometimes it has a border too.

創建新矩形時,通常通常已經附加了填充。 在大多數情況下,它只是灰色,因此您會記得自己更改顏色。 有時它也有邊框。

Back in the very early Sketch days it only had an outline, and you could selectively switch off parts of it. But luckily this is now a thing of the past.

在Sketch的早期,它只有一個輪廓,您可以有選擇地關閉它的一部分。 但是幸運的是,這已經成為過去。

I made a video a while ago, trying to make a design in a nearly 10 year old version of Sketch and trust me, now is a lot better of a time to start :)
我前段時間制作了一個視頻,試圖用將近10年的Sketch版本進行設計并相信我,現在開始的時間要好很多了:)

The reason for this predefined color is because grey is neutral enough so adding a new shape won’t ruin your already beautifully crafted interface, but yet you’ll still be able to see that new object.

使用這種預定義顏色的原因是,灰色足夠中性,因此添加新形狀不會破壞您本來就精美的界面,但是您仍然可以看到該新對象。

default design tool grey rectangle

To make it simple fill is another name for the object’s background. It can be a color, a gradient, or a photo. Each of these can also have a different level of opacity (transparency) ranging from 0 (fully transparent — invisible) to 100 (fully opaque, with no transparency).

為了簡單起見,填充是對象背景的另一個名稱。 它可以是顏色,漸變或照片。 這些中的每一個還可以具有不同的不透明度(透明度)級別,范圍從0(完全透明-不可見)到100(完全不透明,沒有透明度)。

different levels of opacity.
The image above shows three rectangles. The one on the left is completely invisible because it has opacity 0, then a translucent one with opacity 50%, and then a fully visible one on the right.
上圖顯示了三個矩形。 左邊的一個是完全不可見的,因為它的不透明度為0,然后是不透明度為50%的半透明的,而右邊是完全可見的。

Pro tip:

專家提示:

Most of the modern design tools allow you to set opacity with the number keys on your keyboard. Just select an object and press 1 (for 10%), 2 (for 20%) and so on. Pushing 0 will switch between 0% and 100% opacity (so you sometimes need to press it twice).

大多數現代設計工具都允許您使用鍵盤上的數字鍵設置不透明度。 只需選擇一個對象,然后按1(代表10%),2(代表20%),依此類推。 按下0將在0%和100%不透明度之間切換(因此有時您需要按兩次)。

If an object doesn’t have a fill, is also lacking a border or an effect, it won’t be visible in the interface as it requires some defining characteristics to be visible. You’ll still be able to select it, however, move it around, and modify it. It will also still exist in the layers list.

如果對象沒有填充,也沒有邊框或效果,則它在界面中將不可見,因為它需要一些定義的特征才能可見。 您仍然可以選擇它,但是可以四處移動并修改它。 它也將仍然存在于圖層列表中。

main types of fill: no fill, color, gradient and image

填充類型 (The types of fill)

There are three main possibilities of a fill and an absence of one. So you can either have NO FILL, or have a single color, gradient or image backgrounds.

填充和不存在三種主要可能性。 因此,您可以沒有填充,也可以只有一種顏色,漸變或圖像背景。

A while ago patterns were considered another kind of a fill, but in reality they’re just images with a potential to tile them, so they fall into the image category.

前一段時間,圖案被認為是另一種填充,但實際上它們只是具有平鋪潛力的圖像,因此它們屬于圖像類別。

堆積填充 (Stacking fills)

Stacking types of fills on top of each other

You can also add more than one type of fill to the image. Obviously for this to work the fill layers need to be at least partially transparent, or you’ll only going to see the top one. In this example from Sketch you see an image fill as the base, and a semi-transparent gradient fill on top of it.

您還可以為圖像添加多種類型的填充。 顯然,要使填充層起作用,填充層至少必須部分透明,否則您只會看到最上面的一層。 在Sketch的此示例中,您將看到圖像填充為基礎,并且在其頂部為半透明漸變填充。

多梯度 (The multi-gradient)

multi-gradient fill

You can use this principle to achieve some pretty interesting, organic effects of multiple overlapping gradients like in the example above. To do this, simply create four radial gradients that start at each corner of your shape, and fade out towards the center. Experiment with their size and position until you like the result.

您可以使用此原理來實現多個重疊漸變的一些非常有趣的有機效果,如上例所示。 為此,只需創建四個徑向漸變,這些漸變從形狀的每個角開始并向中心逐漸淡出。 試驗它們的大小和位置,直到您滿意為止。

how to create a combined gradient fill

The most common fills you’re probably going to use however, are color and gradient.

但是,您可能要使用的最常見的填充是顏色和漸變。

邊框 (Borders)

Borders are after the fill, the second styling an object can have.

填充之后是邊框,對象可以具有第二種樣式。

border types in UI

The border is a line that goes around our object. It can go inside (inner border), outside (outer border), or between them (center). Remember that only the inner border doesn’t visually make the object larger.

邊框是圍繞我們對象的一條線。 它可以進入內部(內部邊界),外部(外部邊界)或它們之間(中間)。 請記住,只有內部邊框不會在視覺上使對象變大。

inner, center and outer border example

In the example above, the box is 60 x 60 points. The border is 10 points thick. In the middle image, that makes our box larger by 5 points on each side. In the third example, the border is completely outside, making the box larger by 10points in every direction.

在上面的示例中,該框為60 x 60點。 邊框是10點粗。 在中間的圖像中,這使我們的盒子每邊大5個點。 在第三個示例中,邊框完全在外部,使框在每個方向上都擴大了10個點。

邊框樣式 (Border styles)

The border can have different weights (width) in points and can be a dashed or dotted line. We can also fill it with both a color and a gradient.

邊框的磅數可以有不同的權重(寬度),可以是虛線或虛線。 我們也可以用顏色和漸變填充它。

various border styles examples

Most of the design tools allow you also to modify the endings and joints of your lines (also known as paths).

大多數設計工具還允許您修改線條(也稱為路徑)的末端和接縫。

The ends can be open, flat, or rounded while the joints can be sharp, rounded, or angled.

末端可以是開放的,平坦的或圓形的,而接頭可以是銳利的,圓形的或成角度的。

Types of stroke joining and edges.

The roundness of joints and endings can work well if your interface is generally rounded. If not, then just keep it at the default setting.

如果您的界面通常是圓形的,則關節和末端的圓度可以很好地工作。 如果不是,則將其保留為默認設置。

Fills and borders shapes

Thanks for getting this far. I believe it’s worth to sometimes revisit the very basics of a craft and that’s what this series is all about. Borders and fills are an essential part of UI, so it’s good to be able to bend them to your needs every time. In the next installment, we’ll cover all types of Shadows in UI design.

感謝您的幫助。 我認為有時值得回顧一下手Craft.io品的基本知識,這就是本系列的全部內容。 邊框和填充是UI的重要組成部分,因此每次都可以根據需要彎曲邊框和填充是很好的。 在下一部分中,我們將介紹UI設計中的所有類型的Shadows。

If you want to read more about the shapes and UI design in general, check out our 📘 book at www.designingui.com — there are free chapters there as well.

如果您想全面了解形狀和UI設計的更多信息,請訪問我們的design書,網址為www.designingui.com -那里也有免費的章節。

Image for post
UX Para Minas Pretas (UX For Black Women), a Brazilian organization focused on promoting equity of Black women in the tech industry through initiatives of action, empowerment, and knowledge sharing. Silence against systemic racism is not an option. Build the design community you believe in.UX Para Minas Pretas (UX For Black Women),這是一個巴西組織,致力于通過采取行動,賦權和知識共享的舉措來促進科技行業中的黑人女性平等。 對系統性種族主義保持沉默是不可行的。 建立您相信的設計社區。

翻譯自: https://uxdesign.cc/ui-design-shapes-objects-basics-fills-and-borders-ed294a17bcbb

ui邊框設計圖

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/275576.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/275576.shtml
英文地址,請注明出處:http://en.pswp.cn/news/275576.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

如何移除項目中無用的 console.log 代碼

大家好,我是若川。早些天時,我看到一個后端公眾號發《辭退了一個前端》,當時還想著現在后端公眾號都開始吊打前端了嘛。其中有個理由就是線上還一堆console.log...我猜很多人都會移除項目中無用的console.log。可以復習一下。前言說起console…

WCF - 服務實例管理模式

WCF 提供了三種實例上下文模式:PreCall、PreSession 以及 Single。開發人員通過 ServiceBehavior.InstanceContextMode 就可以很容易地控制服務對象的實例管理模式。而當 WCF 釋放服務對象時,會檢查該對象是否實現了 IDisposable 接口,并調用…

oracle io lost,磁盤IO故障

測試工作正在如火如荼的進行,突然數據庫就連接不上了。我連接上主機發現數據庫alert_sid日志中有如下信息:KCF: write/open error block0x9a6 online1file2 /oracle_data1/UNDOTBS3.dbferror27072 txt: Linux Error: 5: Input/output errorAdditional in…

易思匯完成近億元B輪融資,信中利投資

3月19日消息,近日,留學生在線付費平臺易思匯宣布已在3月份完成由信中利投資的近億元B輪融資。 易思匯聯合創始人高宇同表示,本輪融資將主要用于留學生信用卡、留學家庭金融商城等新產品布局,以及擴大團隊和市場投入。 易思匯成立…

遠程連接 錯誤 內部錯誤_關于錯誤的性質和原因。 了解錯誤因素

遠程連接 錯誤 內部錯誤Back in 2012, I was a young[er] product designer working in a small tech agency in Valencia, Spain. In parallel, I worked as a freelancer on several side projects for different clients. One day I was contacted by a new health services…

得到鵝廠最新前端開發手冊一份

又逢金九銀十,拿到大廠offer一直是程序員朋友的目標,但是去大廠就得拿出實力來。除了需要積累技術,了解并掌握面試的技巧,熟悉大廠面試流程,也必不可少。這里分享一份最新入職騰訊的前端社招面經,來看看鵝廠…

性能測試分析之帶寬瓶頸的疑惑

第一部分, 測試執行 先看一圖,再看下文 這個當然就是壓力過程中帶寬的使用率了,我們的帶寬是1Gbps的,合計傳輸速率為128MB/s,也正因為這個就讓我越來越疑惑了,不過通過壓力過程中的各項數據我又不得不相信。…

Android 中的LayoutInflater的理解

LayoutInflater與findViewById的區別? 對于一個已經載入的界面,就可以使用findViewById()方法來獲得其中的界面元素。對于一個沒有被載入或者想要動態載入的界面,就需要使用LayoutInflater對象的inflate()方法來載入。findViewById()是查找已…

linux rootfs編譯進內核,九鼎x6818開發板筆記:uboot、kernel、rootfs編譯和燒寫

下面記錄了如何搭建嵌入開發環境,如何編譯uboot、kernel、和文件系統,如何燒寫鏡像以及如何配置uboot環境變量。閱讀注意:記錄中(Base框中的內容)一些操作故意被添加,為了展示文件內容,故意調用cat(Ubuntu)或者type(wi…

figma下載_素描vs Figma困境

figma下載I distinctly remember how much hatred I had in my heart when I lived through my first UI update. The year was 2009; I had just gotten my braces off and I was ready to smash that ‘Like’ button on my high school crush’s status when I logged into …

祝大家七夕快樂,邀你源碼共讀,順帶發點紅包

大家好,我是若川。這是一個普通的周六。只不過又叫七夕節,祝大家七夕節快樂~所以就不更新技術文了。估計還是有很多讀者不知道我。若川名字由來是取自:上善若水,海納百川。順便放兩篇文章。我讀源碼的經歷,跟各位讀者朋…

windows 系統監視器 以及建議閥值

windows 系統監視器 以及建議閥值 計數器的說明可以在添加計數器那邊 資源 對象\計數器建議的閾值注釋磁盤Physical Disk\% Free SpaceLogical Disk\% Free Space15%磁盤Physical Disk\% Disk Time Logical Disk\% Disk Time90%磁盤Physical Disk\Disk Reads/sec、Physical Dis…

前端人員如何在linux服務器上搭建npm私有庫

為什么要搭建npm私有庫? 為了方便下載時,公共包走npmjs,私有包走內部服務器。npm包下載的速度較慢,搭建npm私有庫之后,會先操作私有庫中是否有緩存,有緩存直接走緩存,而不用重新再去請求一遍網絡。哪種方式…

硬幣 假硬幣 天平_小東西叫硬幣

硬幣 假硬幣 天平During the last 1,5 years, I’ve been traveling a lot. Apart from my must-have things like laptop, sketchbook, and power bank, there constantly appears a new one, in a familiar shape but a new look. That’s 在過去的1.5年中,我經常…

Linux創建一個用戶時分配組,useradd和groupadd(Linux創建用戶\用戶組\設置\分配用戶權限)的使用...

前言:man useradd    man groupadd    info useradd    info groupadd 都可以獲取相關命令的用法信息。個人比較喜歡讀英文解釋文檔,沒有你想象的那么complicated!😜USERADD(8) System Management Commands USERADD…

尤雨溪發布的Vue 3.2 有哪些新變化?

大家好,我是若川。今天分享一篇 Vue 3.2 版本的文章。查看源碼等系列文章。學習源碼整體架構系列、年度總結、JS基礎系列1前言8.10號凌晨,尤雨溪在微博平臺官宣 Vue 3.2 版本正式發布:此版本包含一系列重要的新功能與性能改進,但并…

對象的清除

調用System.gc() 請求垃圾回收的最簡單的方法,但是注意——只是請求,在調用System.gc()之后,有可能會釋放出更多的內存空間。轉載于:https://www.cnblogs.com/happykakeru/archive/2011/04/09/2010030.html

https://zeplin.io/ 設計圖標注及切圖

2019獨角獸企業重金招聘Python工程師標準>>> https://zeplin.io/ 轉載于:https://my.oschina.net/soho00147/blog/3025646

更好的設計接口_設計可以而且必須做得更好

更好的設計接口We live in a world that becomes more dependent on technology every day. Tech gives us new ways to communicate, learn, work, and play, and recently it enabled us to reveal the appalling police brutality towards black people in the US by sharin…

linux隱寫文件剝離,雜項的基本解題思路(1)——文件操作隱寫、圖片隱寫

文件操作隱寫圖片隱寫壓縮文件處理流量取證技術文章本來是分成4部分的,但是前兩部分何在一起寫了也就沒有分開,所以干脆就只分了兩部分文件基本類型的識別一、kail 下file 文件名原理就是識別文件文件頭比如這個軟件:二、WinHex通過winhex分析…