Tag:National flag

  • Add a small flag (mooncake) to your avatar in Python


    Today is the national day and the Mid Autumn Festival. First of all, I wish you a happy holiday. In this article, we use Python to add a small flag or mooncake to our avatar. national flag For the national flag, we can use Python to draw one. The python library we use is the […]

  • Use Emoji to display the national flag


    I always thought that there was no other way to display the national flags except for the UI to give pictures. Recently, it was found that the mobile phone has its own national flag. In the system expression keyboard, there are national flags. If the UI requirements are not very high, you can directly use […]

  • How to create form in PDF document with Java


    Requirement description Generally speaking, if you want to create a table, the first thing you want to think about is to use EXCEL documents. Secondly, it is feasible to create tables in word and ppt documents, because they are all editable documents. However, it seems impractical to create forms directly in PDF documents. You can […]

  • Use cavas in HTML 5 to draw a national flag


    Use cavas in HTML5 to draw a national flag. The specific code is as follows: Var canvas = document. Getelementbyid (“canvas”); // create a canvas palette Var context = canvas.getcontext (‘2d ‘); // set palette properties var width=canvas.width; var height=width*2/3; context.fillStyle=”red”; context.fillRect(0,0,width,height); var maxR = 0.15, minR = 0.05; Var Maxx = 0.55, maxy = […]

  • Teach you how to make a picture of a pendant head


    Yesterday, the circle of friends wasPlease give me a flag @ wechat official“Although I know it’s fake, it’s more interesting to find out how to realize it from another perspective. 1、canvas So we have to mention the API in the applet canvas, there is also canvas in H5, but it has never been used before. This […]